Is there any website where people share and discuss good examples of object-oriented design?
Ideally such website should be populated with posts of the following structure:
- Concise description of the problem, including definitions, links, etc.
- Several attempts of OO design, diagrams, pseudocode listings (voted up/down by users)
- Comments (also voted by users)
Currently I'm looking for a source of inspiration.
StackOverflow
...plenty of good, concise examples of OO Design principals right here.
Ward Cunningham's wiki (he invented wikis -- the c2.com one was the first one and is still active) has a lot of discussion, especially but not exclusively about patterns (Ward was very involved in the start of the whole idea of design patterns, as well as agile programming and quite a few more things;-). You can start here for example. It's not as coordinated and structured as you desire (actually pretty chaotic at times;-) but it can be really instructive to follow all the back-and-forth debates.
http://www.amazon.com/Object-Oriented-Software-Construction-Prentice-Hall-International/dp/0136291554
Object Oriented Software Construction - Betrand Mayer
He's the man that originated the Eiffel language, the most complete analysis of OO software construction I've read.
Some books that have not been mentioned:
Larry Constantine's Structured Design
Grady Booch's Object-Oriented Analysis and Design with Applications
Rebecca Wirfs-Brock's Designing Object-Oriented Software
Ivar Jacobson's Object-Oriented Software Engineering: A Use Case Driven Approach
Kent Beck's Implementation Patterns
Steve McConnell's Code Complete
Joshua Kerievsky's Refactoring To Patterns
i dont know if this site has any disucssions, but very good articles:
object mentor
Well I can't point you to web sites, but I can refer you to some great books :
Of course, those are C++ books, but a lot of concepts in them applies to much more than just C++