News for hackers. Stuff that matters.
Re:Ask HN: What is your best advice for a developer to write... by residualmind on Wednesday June 29, 2016 @11:15AM (#12002134)
Imagine you will have to go back to the code and work with it, after not having spent a single thought on the project for 12 months.
Re:Ask HN: What is your best advice for a developer to write... by residualmind on Wednesday June 29, 2016 @11:29AM (#12002261)
...and possibly during those 12 months have 12 people try to murder your code, i.e. expand its functionality. If the overall architecture, layout is clear, there is a chance that they will expand, improve your code in the way that you originally intended. If it is messy and unclear, it will get more messy. (I'm currently doing a re-write of a huge project that grew over time, using these principles, trying to learn from what was not so nice in the old codebase)