5 ms·
A friend used to call this kind of setup flag-oriented programming. I've suffered it when working for engineering companies where the PMs understood the logic
by narag 4y ago
A friend used to call this kind of setup flag-oriented programming.
I've suffered it when working for engineering companies where the PMs understood the logic but didn't understand why it's a bad idea to just create branches for everything.
Not sure why programmers would inflict this "methodology" on themselves. And no, sorry, I'm not going to read the article. Too soon.
- kristopolous 4y agoIt's great to test/disable features. Most people never need them but it saves a recompile when you do
- narag 4y agoOh, for testing we used other tricks, config files or the more modern instrumentation. The flags that I dislike are the ones used to add functionality as an afterthought.
- jbverschoor 4y agoflop, seems right
- narag 4y agoIndeed, good catch.
- UncleMeat 4y agoActual research has demonstrated that trunk based development works well. Flags are a downside, but there are enormous upsides.