Underscores in Identifiers
bert at impara.de
Sun Nov 20 11:41:40 UTC 2005
Am 20.11.2005 um 00:29 schrieb Andreas Raab:
> stéphane ducasse wrote:
>> I thought that we could assign a compiler class to a class. At
>> least in VW this was that way that roel loaded Prolog like
>> methods with a file in.
>> So I would avoid the preferences plague.
> Actually, I don't like this approach too much simply because it
> creates complete confusion about what the underscore stands for.
> The way I would try to address the problem is by annotating the
> source representation (e.g., file-outs) since this is an issue
> which is only applicable when filing in code so that new code can
> be distinguished properly. Like for example, a line that says
> 'Parser attributes: underscoreIsLetter' (or something in that mood)
> and that, Stream>>fileIn can use to set up the parser properly.
Sure, but what about using underscores when coding? Would you just
allow them by default?
- Bert -
More information about the Squeak-dev