[Seaside] Re: Smalltalk design advice - how to implementgenericbi-directional pointers?

Giovanni Corriga giovanni at corriga.net
Wed Dec 26 21:25:09 UTC 2007


tim Rowledge ha scritto:
>  
> Please, please don't give in to the temptation to give the 
> CompanyProject class a method that simply returns the collection of 
> employees and then just use some awful C programmer crap to treat 
> objects as mere arrays of data. Encapsulation will save you time, effort 
> and sanity in the long run. Any time you see code looking like
> things whotsits dooberries do:[db| db subelements do:[ ......
> run, screaming, away.

Better yet, go look for the author with a blunt instrument in your hands 
and a sparkle of righteous vengeance in your eyes.

	Giovanni, who got into the season's spirit



More information about the seaside mailing list