3 ms·
Code you write is code everyone will now have to maintain forever, so naively, you want to solve problems with as little code as possible, and maximize the valu
by jmchuster 6y ago
Code you write is code everyone will now have to maintain forever, so naively, you want to solve problems with as little code as possible, and maximize the value being generated by your codebase. So you should be spending your time on... properly validating the business value of your projects, properly designing what a system should look like on paper, properly considering use cases and edge cases, finding what code can be eliminated, finding what code can be refactored, finding the single line that you need to change to make it all work.
> The revised bill arrived: $1.00 for turning the screw; $9,999.00 for knowing which screw to turn.
is preferable to
> $10,000 for building a new printing press system from scratch.
- TheDudeMan 6y ago> Code you write is code everyone will now have to maintain forever False. You may throw code away. Also, did you visit the link?
- 8note 6y agoYou can't easily throw away code that somebody else depends on. If you put something useful up, you're stuck with it for a long time, and getting rid of it is another time investment
- TheDudeMan 6y agoThe question was not "Why aren't you writing code that someone else depends on?" Coding can be purely a learning process.
- jmchuster 6y agoSure, you can make a bunch of funny comics: Someone is furiously writing as much code as possible, and the next panel is someone else furiously trying to delete it as fast as possible. Someone stayed up all night to rush to complete something after someone asked for a feature, and then the next day they find out that guy didn't even work there. A team spends 5 months refactoring their webapp to force it to fit into 512mb, and then in their final presentation someone asks, why not just buy a 2gb stick of memory? https://thedailywtf.com/articles/That-Wouldve-Been-an-Option-Too https://thedailywtf.com/articles/That-Wouldve-Been-an-Option...