www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Reserving Keywords

reply "Jan-Eric Duden" <jeduden whisset.com> writes:
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
Apr 27 2004
next sibling parent J Anderson <REMOVEanderson badmama.com.au> writes:
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/
Apr 27 2004
prev sibling next sibling parent "Jan-Eric Duden" <jeduden whisset.com> writes:
 - 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
Apr 27 2004
prev sibling parent School <itsnotvalid-news yahoo.com.hk> writes:
Jan-Eric Duden wrote (partly):
 - property     -->possible future application: to explicitly declare variables
as properties
That's quite good.
Apr 28 2004