Hacker News new | ask | show | jobs
by laszlojamf 36 days ago
I'd add

- data migrations are inevitable and should be planned for (corollary of versioning)

- planning is good, sometimes you just have to try things out

- everything costs money. Designing without costs in mind will force hard choices down the line

1 comments

I'll add another to that:

- Code lives longer than you expect. You forget sooner than you expect. Make a readme/architecture overview/theory of operation document. Put more in it than you think is needed. Check it in with the code.

If I had a dollar for every time "throwaway code" became foundational code...
This is one usecase where I'm thankful for AI: to help generate a bunch of documents in a well structured manner (giving it audience, having it scan through my comments on why I did xyz, etc)