[Seaside-dev] Issue 242 in seaside: Using a niladic actionBlock with on:do: in not portable

Stefan Schmiedl s at xss.de
Sat Nov 15 12:50:34 UTC 2008


On Sat, 15 Nov 2008 01:35:55 -0800
codesite-noreply at google.com wrote:

> Issue 242: Using a niladic actionBlock with on:do: in not portable
> http://code.google.com/p/seaside/issues/detail?id=242
> 
> Comment #4 by philippe.marschall:
> Coding conventions updated as well:
> http://www.seaside.st/community/conventions

I just skimmed that page and found two nitpicks:


For portable code inherit from WAObject. This makes sure your 
objects will receive ___and___ #initialize message upon creation. 
If create special class side object creation methods make sure 
that #initialize is still sent.

___and___ should be "an"



Do not use #withIndexDo:, #keysAndValues: is the only right thing to do.
Use #keysAndValuesDo: instead of #withIndexDo:

One of those items has to go, preferably the first one.

s.


More information about the seaside-dev mailing list