Hey Igor, Although I disagree about the 'real life' (that's what you have the design for: to avoid the constant architecture change), you are right that in a book it is a valid approach. However, I very much dislike it unless you clearly state in the beginning that you are gonna do it in a messy way just to show something. Otherwise people (me) spend time reading, understanding and learning what was said just to learn that 'Actually, there is a much better way of doing this.'. And that is what it comes down to in the book sometimes: not 'different' ways but actually 'better' ways! If you want to show a certain feature of the API, show it in an example that is an actual case where you would use it. Don't just write code to show the feature and then re-do it. I will never learn when to actually use the feature in real life then!
But hey - apparently that's just me... :) // Che > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Igor Vaynberg > Sent: Thursday, September 14, 2006 6:42 PM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] SUSPECT: RE: Pro Wicket: Great > first book onwicket > > And as I stated in my last email, I personally do not > like the way of saying 'Let's do it like this!' and > then a chapter later > you revoke it all because it can be done quicker and cleaner > differently. > > > for an introductory book i do not think this is all that bad > actually. you are learning the api. you figure out how to do > things using the simple api, and the deeper you delve, > discovering more advanced features, you can simplify the code > you have written before. isnt this what happens in real life > as well? at least with this approach you see the progression > instead of heaving the book go very very deep into some api > to explain how to do something simple efficiently and lose > you in the middle of it. > > -Igor > > ______________________________ > DISCLAIMER: This e-mail message is intended for the > addressee(s) or authorized recipient only. If you are not the > addressee, or an authorized recipient, you are specifically > advised that any use, distribution, publication, copying or > repetition of this information is prohibited. If you have > received this information in error, please notify us > immediately (+31 (0)20 50 25 800) and destroy this message. > ______________________________ DISCLAIMER: This e-mail message is intended for the addressee(s) or authorized recipient only. If you are not the addressee, or an authorized recipient, you are specifically advised that any use, distribution, publication, copying or repetition of this information is prohibited. If you have received this information in error, please notify us immediately (+31 (0)20 50 25 800) and destroy this message. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user