What I didn't know at the time was how difficult the US government would make it for me to first get a job and then to become a permanent resident. Every dealing I do with the government I feel the undercurrent of not being wanted here - as if they are looking for an excuse to reject me, as opposed to actually wanting my skills and intelligence to contribute to the economy and doing everything they can to make me stay.
If I return home now, with my degrees and five years of experience in a software company, I can easily start my own firm. I'm telling myself that if the US government throws one more obstacle my way, I'm going to say fuck it and do just that. (When I go back for vacations and talk to younger people who are considering coming here, I tell them don't do it - it's just not worth the hassle.)
I don't know what to say about immigration being inhospitable to you. Obviously, I think we'd be better off with more skilled CS grads, and shipping them back to economic competitors does not seem like a great long-term strategy.