News for hackers. Stuff that matters.
Re:Ask HN: How to improve code quality while maintaining dec... by gfs78 on Tuesday December 10, 2019 @09:18AM (#21752604)
Try to get better at writing code that is easy to refactor. Good code is rarely written in one pass, but in iterative refinements.

So, instead of trying to get the definite code from the get go, start with a simple design (yagni and kiss) and evolve from that.

But there is no silver bullet. You can get faster but not by orders of magnitude. Quality code takes time.

Personally, I go after the feeling I had when I studied programming in the 90s. Simple algorithms that manipulate strings, ints, etc. and no so much after abstraction and composition.

There are no comments on this comment yet.