<html>
<head />
<body style="font-family: sans-serif;">
But please, do finally think of these:<br /><br /><span style="font-weight: bold;">a) Do document methods!</span><br />b) Look at the many misleading method names<br /><br />For a novice it's extremely difficult getting into Seaside, mainly because it's not or badly documented.<br /><br />More here:<br />http://thesmalltalkblog.blogspot.com/2009/04/to-documents-or-not-to-be.html<br /><br /><blockquote type="cite">
<p>-------- Original-Nachricht --------<br />Datum: Sun, 19 Apr 2009 00:06:16 -0700<br />Von: Julian Fitzell <jfitzell@gmail.com><br />An: Seaside - general discussion <seaside@lists.squeakfoundation.org><br />Betreff: [Seaside] unused methods<br /><br /></p>
Keith Hodges wrote:<br />> The seaside team has a policy of removing methods that are not actually<br />> used by the framework. [...snip...] (an example of this is that<br />> #hasGroupNamed: is not provided in the interface to the application<br />> configuration because seaside has no need of it.<br /><br />Hi Keith,<br /><br />It's just a matter of finding a balance: there are plenty of methods<br />in the framework that are not sent from within. Mostly I would just<br />rather see methods added as people need them rather than implementing<br />every method we can think of and then being unable to remove, rename,<br />or change the behaviour of them because people "might" be using them.<br />The more methods we add, the more code we need to maintain and the<br />more code people need to wade through.<br /><br />By #hasGroupNamed: I assume you are refering to behaviour something like this?<br /><br />aConfiguration allAttributes anySatisfy: [:ea | ea group = #server]<br /><br />I don't object to a method such as that existing /per se/ but the<br />above code seems fairly clear, no? And if we were to add<br />#hasGroupNamed:, do we need #hasAttributeWithLabel:,<br />#hasAdvancedAttributes, #hasBooleanAttributes, #allBooleanAttributes,<br />#allAttributesInGroup:, and so on? We try to anticipate users' needs<br />when possible but we can't predict every query that a user might want<br />to make...<br /><br />If only one person is using a method, it is easily added as a class<br />extension. If many users are clamouring for it, then of course we<br />would look at adding it.<br /><br />Julian<br />_______________________________________________<br />seaside mailing list<br />seaside@lists.squeakfoundation.org<br />http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br /></blockquote>
<div class="signature"><br /><br /><br />-- <br />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</div></body>
</html>