This is what I did. I have a BS in Politics and a MS in CS. Before taking the MS degree, I read a lot of the books one would read for a BS in CS and did a lot of programming. This prepared me well. I met others in the program who didn't and it showed. Taking Masters level courses without background will get you lost really fast.