[squeak-dev] Selectors with underscores
astares at gmx.de
Fri Mar 12 15:31:11 UTC 2010
>Supporting underscores in selectors makes a significant change to how the
>code looks to the eyes
>You can argue its not that important, or folks should just change and
>enjoy it, but it does impact readability.
You seem to miss my point here. I AGREE with you regarding readability
- since I like well written Smalltalk code in the same way you like it.
A #fooBar is always better than a #foo_Bar! Nothing said about it -
I have no beard but appreciate reading/writing clean Smalltalk
code since 1994...
CALL_ME_BACK: is also more readable than CALLMEBACK in an
FFI callback, especially when the C function has the same name
The other Smalltalks allowed to use underscores in selectors
and still have well written and readable Smalltalk methods.
You may argue that this is due to their commercial nature -
but I believe it's because Smalltalk people really use this
I think you fear that after introducing this change anybody
- which I just doubt!
Therefore I would like to go the way Bert nicely described as:
Supporting them: +1
Using them: -1
It's an interesting discussion - I should have read the warning in
Ians original changeset more clearly. It said:
"Use of this changeset has been officially condemned by the
Independent Board of Syntactical Aesthetics for Squeak." :)
>Just 2r11 from a "legacy" Smalltalker who, yes, still uses MVC, albeit
>running in parallel in a custom VM on a 64-core Tilera chip. ;-)
How is the project going, havent heard from it since 2008?
Since Notes-UI is written in Java I think underscores are OK here
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the Squeak-dev