[Seaside] Object new initialize

Philippe Marschall philippe.marschall at gmail.com
Fri Aug 31 08:29:16 UTC 2007


2007/8/30, Michael Lucas-Smith <mlucas-smith at cincom.com>:
> Hello Seasiders,
>
> Squeak has the #initialize pattern on Object - but VisualWorks doesn't.
> I'm not sure about Gemstone or Dolphin.
>
> Aside from the argument that may be we should have that pattern too- in
> the interest of code portability, what is the best approach here.

Acutally this issue like many others is covered in the Seaside coding
conventions:
http://www.seaside.st/community/conventions

I just simply forgot is in this case. Seaside2.8a1-pmm.463 should fix this.

> For example, WAHtmlBuilder (essential for getting all the tests to go
> green) expects to have the #initialize pattern on Object. Is there any
> other code in Seaside that does the same?

Yeah, a hell of a lot. Ceck out all the implementors of #new and initialize.

Cheers
Philippe

> Would it be appropriate to not assume that pattern in the Seaside code
> for portabilities sake?
>
> Cheers,
> Michael
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list