Hacker News new | ask | show | jobs
by philwelch 5170 days ago
> Imagine someone had sprinkled #ifdef PHOTOSHOP_LE everywhere and then said "Ship it!"

This is a surprisingly common strategy for shrinkwrapped software. I interviewed at Chief Architect once. (http://www.chiefarchitect.com/). They have one codebase. They have about a dozen products overall though, which are all selective builds of the same codebase. Now instead of just selling $2000 software to professionals, they can sell $60-$600 software to hobbyists. Kind of funny thinking about how much money the humble #ifdef has made the software industry, eh?