News for hackers. Stuff that matters.
Re:Write code that is easy to delete, not easy to extend (2016) by yetanta on Wednesday July 22, 2020 @09:47AM (#23916902)
I have had pretty good luck with just dropping a comment where something would be expanded. I find for myself sometimes it is easy to add bunches of code for cases that never happen. Mostly because you are in the moment thinking about all the different cases and have in a crazy way missed the specific case you are working on. Sometimes (not always) it is better just to ack that you are being an over-engineer.

There are no comments on this comment yet.