Oh no, are people really so strongly for ::? It make source code look absolutely awful. The period looks a thousand times better, but I don't think there is a non-ambiguous way to do it.
What about message style sytax?
e.g.
self add: (Kernel Array new: 4)
? That looks much better to my eyes, though it does force a trade off: do we find a way of complicating the compiler that the above is resolved at compile time, or do we take the run time lookup hit?
In any event, please don't go with ::, and if you must at least please don't put this in the default image.
On 9/18/07, Ron Teitelbaum Ron@usmedrec.com wrote:
+1 for ::
Even if it is really
self add: (Kernel::Array new: 4).
:)
Ron
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev- bounces@lists.squeakfoundation.org] On Behalf Of Bert Freudenberg Sent: Tuesday, September 18, 2007 6:31 AM To: The general-purpose Squeak developers list Subject: Re: Quick comparison of two Namespaces proposals
On Sep 18, 2007, at 11:55 , Michael van der Gulik wrote:
self add: Kernel.Array new: 4. self add: Kernel::Array new: 4.
What do other people think?
+10 for ::
Though I hope this won't become a bikeshed discussion of syntax, but actually result in a Namespace solution getting adopted.
- Bert -