|
Prev: CFP: DATICS 2008 - Design, Analysis and Tools for Integrated Circuits and Systems
Next: assert{ 2.0 } - a new kind of assertion
From: S Perryman on 29 Jan 2008 05:34 topmind wrote: TM>If you want to create and compare a sample app to show OO being good, TM>how about using Robert Martin's payroll example: TM>http://www.geocities.com/tablizer/payroll2.htm >>Is this the "example" that I am on record on comp.object as showing that >>you in fact did not do a "like for like" implementation of the features >>that Robert Martin defines in his book ?? > Is there something missing you wish to go over, or are you just > looking for a nit to pick? > Note that I left a few items out because I fealt they were mostly site- > specific features that could be implimented by using and updating the > info in the given tables. I have quicky perused a shop copy of Robert Martins' C# book. The key sections IMHO appear to be : - pages 293-298 - chapter 26 and chapter 27 Of the seven Use Cases defined and then implemented by Robert Martin, what have you implemented (as defined by the above) ?? If you have not implemented all of them, or have implemented things that were *not defined* by Robert Martin, then you have not provided a *like for like* implementation. TM>An approximate version of what's in Robert Martin's OO code from the TM>book What does "approximate" mean ?? Either the code implements the payroll system in Robert Martins' book, or it doesn't. Which is it ?? > can be found here: TM>http://www.codeproject.com/KB/books/PatternsPractices.aspx >>Which all appears to be about a *UI* for a payroll system. >>Are you claiming that "P/R" builds better UIs than OO ?? > I wouldn't classify it about being mostly UI related. In fact, my > implementation didn't include any UIs other than stub output. I have read all the code located at that URL again. 1. Allowing for my ignorance of C# (feel free to correct me) , I see is what appears to be code for a *native (Windows) GUI* for a payroll application, and *test harnesses* for the GUI. I do not see any *domain/application logic* for a payroll application. 2. Written big and bold is the following : <quote> Agile Principles, Patterns, and Practices in C#: Chapter 38: The Payroll User Interface: Model View Presenter </quote> Now, which chapters of Robert Martins' book for the payroll example does this code relate to (note for the non-stupid : rhetorical question) ... ?? Regards, Steven Perryman |