Remember two years ago when the sky was falling for software programmers? Not only had the tech downturn thinned their ranks, but Indian upstarts were putting tens of thousands of low-salary coders to work on projects that once would have been done by Americans. Forrester Research Inc. predicted more than 3 million U.S. service jobs — including programming — would move offshore by 2015. It seemed like the “giant sucking sound” Ross Perot predicted in 1993 was coming to pass for software writers.

Not so fast. The latest data from the Bureau of Labor Statistics contain a pleasant surprise: The ranks of “computer and mathematical occupations,” which include many programmers, actually rose in the second quarter by a robust 7.5%, to 3.2 million, compared with the previous year. While software companies themselves boosted jobs by a modest 3.3%, employment at establishments providing custom programming services increased by 5.6%. By contrast, tech manufacturing jobs were up just a tad and telecoms are still cutting staff.

Why the shift? A couple of reasons. High-end programmers’ skills are in demand as corporations and tech companies adopt a slew of new technologies from wireless computing to Web services — pieces of software that fit together like Lego blocks. That makes it easier to add new features and to integrate one program with another. A second factor: While Indian service firms and their Western rivals are hiring lots of programmers overseas, they’re also recruiting people with design skills and business knowledge close to their clients in the U.S. and Europe. “You always need programmers on site or nearby,” says analyst Gregory Smith of Merrill Lynch & Co.

This is welcome news for American programmers, but they’re not out of harm’s way. The pressure is still on to avoid getting stuck in routine programming jobs that can easily be moved offshore, and many likely will be in coming years. “This is going to be a less and less attractive occupation for people with entry-level skills,” says David Garlan, director of software engineering programs at Pittsburgh’s Carnegie Mellon University.

More here.