This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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