There are more than you might expect. (It also depends on what you mean by "hack.")
Take a look at http://lawyersongithub.com. This is a list of lawyers with github accounts. Now, having a GH account doesn't make you "hacker" or professional programmer, but a couple of people on it have left law to focus on programming. I know several other lawyers not listed there who left firms to focus on software development.
You'll find a range of experience. There are lawyers who were programmers first, went to law school, and then went back to programming. Others had skills before law school or learned while practicing law and have incorporated into their practices, to varying degrees.
Take a look at http://lawyersongithub.com. This is a list of lawyers with github accounts. Now, having a GH account doesn't make you "hacker" or professional programmer, but a couple of people on it have left law to focus on programming. I know several other lawyers not listed there who left firms to focus on software development.
You'll find a range of experience. There are lawyers who were programmers first, went to law school, and then went back to programming. Others had skills before law school or learned while practicing law and have incorporated into their practices, to varying degrees.