I'm a Software Engineer and I've taken major breaks.
After a year working at the DoD, I spent three years dong whatever I wanted / snowboard instructor / kayak guide, etc.
Then I got a job as a Software Dev for 2 years, no problem at all, got the first job I interviewed for.
Then I took two years off to drive Alaska->Argentina, and generally do whatever I wanted.
After that I again got the first Software Dev job I applied for, and did that for 4 years. Now I'm off again to drive around Africa for at least 2 years.
Granted, I have not "climbed the ladder" like my university friends who have been working all of those years, but I've had absolutely no problem dropping in and out when I please.