Law professors like Obama tend to view the law as one means to an end, and others, like myself, tend to view it as the end itself.
There's a misconception about Barack Obama as a former constitutional law professor. First of all, there are plenty of professors who are 'legal relativists.' They tend to view legal principles as relative to whatever they're trying to achieve.