News for hackers. Stuff that matters.
Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by tekkk on Tuesday December 24, 2024 @06:26AM (#42501223)
I myself coined a term "kitchenware principle" that I have applied to my codebase as well. You put forks and knives adjacent because they serve similar utility and common purpose. Same with plates, cups, weird gadgets in separate drawer.

You should organize your code similarly and with as little fanfare. They are just tools, dont get clever with them. Sometimes, you get too many forks in same holder so you have to divide them but again, common sense prevails.

Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by dvektor on Tuesday December 24, 2024 @04:21PM (#42505013)
so `utils` is pretty much the 'junk-drawer' of the kitchen then ;)
Re:Ask HN: Programmers who don't use autocomplete/LSP, how d... by tekkk on Wednesday December 25, 2024 @06:55AM (#42508369)
Certainly and nothing wrong with it. Just have to make sure no forks get lost in there. And I myself have started to prefer more intellectual "lib"