2 ms·
Code might be useful way after original constraints / platforms / compilers / requirements / reasons / etc are long gone. If you have a tradeoff between someth
by SleepyMyroslav 4y ago
Code might be useful way after original constraints / platforms / compilers / requirements / reasons / etc are long gone.
If you have a tradeoff between something today and clarity you might thank yourself later that you didn't went for it and kept code amenable to change.
Or as with any tradeoff you can be right going for that cleverness.
I have learned that I want to err on clarity side not on cleverness side but ymmv.
- withinboredom 4y agoYeah, I agree with that. Knowing when to break the rules and having reviewers agree with it is def a very rare thing. I think I’ve done this only a handful of times in the last 20 or so years.