Daniel Gulati is a tech entrepreneur and describes the pros and cons of being a generalist or specializing in your career in his blog on HBR
Keeping Your Options Open Could Be Hurting Your Career. It appears that being a subject matter expert in one industry provides a foundation for a longer and more prosperous career. The problem is how to determine when and where to specialize.