FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

One thing I would change in D

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
kihjin



Joined: 28 Dec 2006
Posts: 18

PostPosted: Sat Sep 15, 2007 2:47 pm    Post subject: One thing I would change in D Reply with quote

Code:
variable !is null


When I read this, I get: variable not is null. Perhaps I am alone in this assertion, but this syntax seems awkward. Although

Code:
variable is !null


may not be any better, because then how could we quantify what "not null" is?

I am particularly fond of Python's approach to this:

Code:
variable is not null


The code executes exactly how it reads.

Please give me your comments on this issue, or feel free to post things that you would change!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group