const

Roberto Mariottini rmariottini at mail.com
Mon Mar 31 01:56:38 PDT 2008


Walter Bright wrote:
> Denton Cockburn wrote:
>> I've been trying to figure out the difference for a while now.
>> I started 2 threads on D newsgroups...neither of which provided a
>> reasonable response.  I still would like to see a good explanation of why
>> we have 2 keywords that do the exact same thing (esp. when one has no
>> other purpose - in).
> 
> It's a good question. The only value 'in' has is it's shorter.

Well, so let's deprecate 'const' and use 'in' instead (this time I'm 
serious!).

Ciao
-- 
Roberto Mariottini, http://www.mariottini.net/roberto/
SuperbCalc, a free tape calculator: 
http://www.mariottini.net/roberto/superbcalc/



More information about the Digitalmars-d mailing list