This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I like to get one or more opinion about my MVC [VC] to be exact! When i read and learn some thing about MVC i have a lot of theoretical examples, but no much practical examples... My doubt is simple: is this correct? (see pseudo-code)
Is there any difference between doing it like Roberto showed and using a seperate (anonymous) (inner-)class? And i mean difference in good or bad, from a design perspective ? I know there is a difference in code