The difference between law and software engineering is that you can't really BS your way in software for too long without being caught. I knew a few friends who would never have been able to pass the math and engineering courses a decent CS program requires, but they were admitted and essentially paid a huge bribe (with loans) to get a law degree from a low-tier school, cram for months for the bar, and get certified.
But they never made much money in law, and probably would have been better off choosing another path.