A little namespace "proposal"

stéphane ducasse ducasse at iam.unibe.ch
Thu Apr 15 12:01:28 UTC 2004


On 15 avr. 04, at 01:07, Andreas Raab wrote:

>> If I were writing myWonderfulMethod and accepting it
>> for the first time, would the programmer's assistant
>> offer up a menu like...
>>
>> "Scheduler is not defined in this namespace..."
>> |  import from Kernel
>> |  import from NewSchedTest
>> |  ----------------------
>> |  declare local
>> |  declare global
>> |  leave undeclared
>>
>> If so it would be fairly consistent with what we have now.
>
> And it is almost[*] identical with what I thought would be a good way 
> to
> deal with the problem when the discussion started out ;-)
>
> [*] "almost" just because I'd still want to be able to block names from
> certain name spaces (which is no big deal)

But andreas this is really at the level of the tool in that case so 
this is
completely costumisable. For example, for my env I will improve the 
errors
to check first the class when there is an error in a method and do not 
propose
name from non-wanted classes.

>
> Cheers,
>   - Andreas
>
>




More information about the Squeak-dev mailing list