Hacker News new | ask | show | jobs
by peakaboo 1729 days ago
If anyone has a good book about writing as simple programs as possible instead of as flexible as possible, I would appriciate it.

Because the problem today is complexity and abstractions. It prevents us from changing code easily, deleting code easily, and understanding the full program flow easily.

2 comments

Sounds like "Understanding Software" by Max Kanat-Alexander.

https://www.amazon.com/Understanding-Software-Kanat-Alexande...

That looks like a great read. I feel tempted to buy it right away. So few books about this topic our there. Huge thanks for letting me know!
You are welcome!! The author also blogs at https://www.codesimplicity.com/
Totally agree. Premature abstraction is just another way to say premature optimization and it is the root of so many problems. YAGNI (you aint gonna need it).
If that's what your looking for, I find books that are adopted as university textbooks are best. i.e. C Programming Modern Approach by KN King, Object Pascal Handbook by Marco Cantu. Generally I'm staying away from O'Reilly, No Starch Press etc.. They all feel like books created by pasting a bunch of blog posts together. University texts are usually twice the price, but IMHO worth it - they are made for teaching knowledge, not just sharing it.
> University texts are usually twice the price

Yeah I find these are normally the books I want now, but it doesn’t take that many to suddenly turn my cart into $1k.