Hacker News new | ask | show | jobs
by gfs78 2376 days ago
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.