[Seaside] Re: FileLibrary / css files confusion - diagnosis:
trying to change '/seaside/' in URL messes up FileLibrary ??
renggli at gmail.com
Wed Jan 2 09:44:56 UTC 2008
> > Accessors of the form #setSomething: are private by convention, you
> > should not call them directly unless you exactly know what you are
> > doing.
> Really? Interesting, I hadn't heard about that in other flavours of
> Smalltalk. Is it a general Squeak convention or a Seaside convention?
No, this is Kent Beck, Smalltalk Best Practice Patterns: Constructuor
Parameter Method. (page 25)
Also check out the Seaside coding-conventions:
> Shouldn't #setName: be in the 'private' protocol then, rather than in
The initialization protocol is private, it should never be called from outside.
> That's how I was taught to do it, way back when,
> and/or to add a "private" method comment for unsuspecting browsers.
> I've encountered other conventions, like #_name:, #privateName: or
> #basicName: rather than simply #name:, for various purposes, but not
> the #setSomething: one.
#_ as part of a method name doesn't work in Squeak and is very ugly
in my opinion too.
#basic as a method prefix is used to show that a method is private and
that it should not be overridden (something like private final in
More information about the seaside