www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: The Is Operator

Derek Parnell Wrote:

 On Tue, 02 Oct 2007 17:23:48 -0400, Kyle G. wrote:
 The code I am concerned about is "var !is null" which appears to 
 translate to "var not is null" when it actually means "var is not null." 
 Is there any special reason why we are unable to do "var isnot null" or 
 "var is not null"?

This gets discussed every 6-months or so ... my favourite replacement keyword so far is "aint" as in "if (var aint null) " :-) -- Derek Parnell Melbourne, Australia skype: derek.j.parnell

Now _that's_ the sort of syntax feature we need to make D a major and respected player in the software engineering world.
Oct 03 2007