Practical Object-Oriented Design in Ruby
Sandi Metz
12 people recommended it in 8 threads, 2014–2020.
What people on Hacker News said
An important thesis is that good code is not an aesthetic judgement of how it _now_ looks, but objective question how easy it will be to _change in the future_.
Hands-down, Practical Object-Oriented Design in Ruby (http://www.poodr.com/) - some of it I don't agree with but it's all wonderfully put-together: clear and concise, with wonderful examples.
I am not so much a ruby fan, but don't let the title decive you, ruby is just the tool (since it could use any other OOP language) to show what the book is realy about (OOP Design shown in the best way possible).
Practical Object-oriented Design in Ruby is a great read with a lot of advice on approaching design problems, approaching refactoring and thinking about how to model.
The Ruby written could be completely replaced by pseudo code, and it wouldn't change the lessons taught.
I thought I knew how to write good Ruby code, but then I read "Practical Object-Oriented Design in Ruby".
Where it comes up
- Ask HN: What books had the greatest effect on how you structure your code? 2017 · 3 recommendations
- Ask HN: What language-agnostic programming books should I read? 2017 · 2 recommendations
- Ask HN: What's the best programming book you've read recently? 2014 · 2 recommendations
- Ask HN: Best books under 200 pages for developers? 2020 · 1 recommendation
- Ask HN: What are the most fundamental books on computer science? 2019 · 1 recommendation
- Ask HN: What books are you reading? 2017 · 1 recommendation
- Ask HN: What's the best computer science book you've read recently? 2017 · 1 recommendation
- Ask HN: Which book are you reading these days? 2015 · 1 recommendation