Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 27, 2004 Reserving Keywords | ||||
---|---|---|---|---|
| ||||
Hi! I just wanted to suggest that some more keywords should be reserved. First suggestions: - property -->possible future application: to explicitly declare variables as properties - bool -->possible future application: boolean type - virtual --> not sure about this one... the current keyword list is here: http://www.digitalmars.com/d/lex.html#keyword -- Jan-Eric Duden |
April 27, 2004 Re: Reserving Keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan-Eric Duden | Jan-Eric Duden wrote: >Hi! > >- bool -->possible future application: boolean type > > This is already an alias in phobos for bit, and I like it that way. -- -Anderson: http://badmama.com.au/~anderson/ |
April 27, 2004 Re: Reserving Keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan-Eric Duden | > - virtual --> not sure about this one... Some more thoughts about virtual as a reserved keyword: I don't think that virtual should be used in D, but I think that people coming from C++ might get confused when they see variables and functions called virtual. -- Jan-Eric Duden "Jan-Eric Duden" <jeduden@whisset.com> wrote in message news:c6l6r3$l0k$1@digitaldaemon.com... > Hi! > > I just wanted to suggest that some more keywords should be reserved. > First suggestions: > - property -->possible future application: to explicitly declare > variables as properties > - bool -->possible future application: boolean type > - virtual --> not sure about this one... > the current keyword list is here: > http://www.digitalmars.com/d/lex.html#keyword > -- > Jan-Eric Duden > > |
April 28, 2004 Re: Reserving Keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan-Eric Duden | Jan-Eric Duden wrote (partly):
> - property -->possible future application: to explicitly declare variables as properties
That's quite good.
|
Copyright © 1999-2021 by the D Language Foundation