News for hackers. Stuff that matters.
Re:Ask HN: Suggested software /design/ books? by steveklabnik on Saturday November 27, 2010 @04:01PM (#1945860)
I might as well get all of the big names out of the way.

* Design Patterns: Elements of Reusable Object-Oriented Software

* Refactoring: Improving the Design of Existing Code

* Clean Code: A Handbook of Agile Software Craftsmanship

* Code Complete: A Practical Handbook of Software Construction

And some others:

* Working Effectively with Legacy Code

* Domain-Driven Design: Tackling Complexity in the Heart of Software

Re:Ask HN: Suggested software /design/ books? by joezydeco on Sunday November 28, 2010 @10:22AM (#1947469)
You want to manage complexity, but mention Design Patterns?

I'm not a fan of this book. I've been in too many shops where it's become gospel and the code becomes an unnavigable swamp of singletons and factory classes and who-knows-what.

http://www.theserverside.com/tip/Evil-Design-Patterns-When-D...

Re:Ask HN: Suggested software /design/ books? by loumf on Sunday November 28, 2010 @11:08AM (#1947539)
A lot of people misunderstand that book. Design Patterns reduce complexity when used correctly. A good book to understand that is Refactoring to Patterns http://industriallogic.com/xp/refactoring/.

If you need your code to construct objects without knowing the type, then you need a factory (or other creation pattern). If you don't -- it's overkill. They are using a solution to a problem they don't have.

Re:Ask HN: Suggested software /design/ books? by steveklabnik on Sunday November 28, 2010 @11:57AM (#1947609)
Any good advice can be abused.