My namespace proposal described in Yet Another Try
Brian Brown
rbb at techgame.net
Fri Sep 21 18:18:57 UTC 2007
On Sep 20, 2007, at 9:12 PM, Ramon Leon wrote:
>>
>> Magritte and Magma already both very nearly use the same prefix, "MA"
>> and "Ma", respectively. It's hard for me to accept, after
>> all this discussion and effort and say Göran's finally makes
>> it into the base image, that I could very easily collide with
>> Magritte unless at least one of us renames a bunch of stuff.
>
> We use two letter prefixes because we're forced to see them and
> type them
> constantly, with Göran's proposal, it'd be much more common to use
> Magritte:: or Magma:: as the prefix since you wouldn't be typing
> it, it'd
> resolve naturally when you just used the short class name. Granted
> this
> doesn't help existing packages with short prefixes, but it'd help
> new code.
> If it worked well, I'd sure take the time to rename my code to use it.
I completely agree with this as well - I would have no problem adding
longer prefixes to my code, and would make class names more readable
when they weren't shortened by the tools...
- Brian
More information about the Squeak-dev
mailing list
|