[Seaside] unused methods

TheSmalltalkBlog at gmx.ch TheSmalltalkBlog at gmx.ch
Sun Apr 19 07:37:11 UTC 2009


But please, do finally think of these:

a) Do document methods!
b) Look at the many misleading method names

For a novice it's extremely difficult getting into Seaside, mainly because 
it's not or badly documented.

More here:
http://thesmalltalkblog.blogspot.com/2009/04/to-documents-or-not-to-be.html


>             
> -------- Original-Nachricht --------
> Datum: Sun, 19 Apr 2009 00:06:16 -0700
> Von: Julian Fitzell <jfitzell at gmail.com>
> An: Seaside - general discussion <seaside at lists.squeakfoundation.org>
> Betreff: [Seaside] unused methods
> 
>             Keith Hodges wrote:
> > The seaside team has a policy of removing methods that are not actually
> > used by the framework. [...snip...] (an example of this is that
> > #hasGroupNamed: is not provided in the interface to the application
> > configuration because seaside has no need of it.
> 
> Hi Keith,
> 
> It's just a matter of finding a balance: there are plenty of methods
> in the framework that are not sent from within. Mostly I would just
> rather see methods added as people need them rather than implementing
> every method we can think of and then being unable to remove, rename,
> or change the behaviour of them because people "might" be using them.
> The more methods we add, the more code we need to maintain and the
> more code people need to wade through.
> 
> By #hasGroupNamed: I assume you are refering to behaviour something like 
> this?
> 
> aConfiguration allAttributes anySatisfy: [:ea | ea group = #server]
> 
> I don't object to a method such as that existing /per se/ but the
> above code seems fairly clear, no? And if we were to add
> #hasGroupNamed:, do we need #hasAttributeWithLabel:,
> #hasAdvancedAttributes, #hasBooleanAttributes, #allBooleanAttributes,
> #allAttributesInGroup:, and so on? We try to anticipate users' needs
> when possible but we can't predict every query that a user might want
> to make...
> 
> If only one person is using a method, it is easily added as a class
> extension. If many users are clamouring for it, then of course we
> would look at adding it.
> 
> Julian
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
        
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090419/0c1db972/attachment-0001.htm


More information about the seaside mailing list