[Seaside] Is your code for your
Seaside web-appusing concisemethods?
rickf at ca-flower.com
Wed Jan 24 20:15:35 UTC 2007
Ramon Leon wrote:
> If you want to tag something with an identifier, use a symbol. A symbol is
> just a globally unique string. They allow for faster comparisons because
> they can be compared with == rather than =. However, I use them for
> semantic reasons, not performance reasons. Symbols are for keying and
> identifying things, strings generally aren't. Symbols also have the
> advantage of being checked by the refactoring browser when you rename
> methods. Symbols are kind of like undeclared constants in other languages.
Cool.. I'll try it out.. Thanks!
More information about the Seaside