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

Naming consistency re isnormal()

 
Post new topic   Reply to topic     Forum Index -> Helix
View previous topic :: View next topic  
Author Message
PsychoBrat



Joined: 23 Jul 2005
Posts: 22

PostPosted: Sat Jun 17, 2006 9:11 pm    Post subject: Naming consistency re isnormal() Reply with quote

Since isnormal() appears for so many of the classes, I suppose there's some justification for it not following the camelCaseConvention used elsewhere in Helix, but I haven't found an explanation anywhere.

Is it simply an effort to be consistent with Phobos (and if so, is there a reason for Phobos math functions to be named in this manner?) or is there some other reason?

Thanks! Smile

Jeff
Back to top
View user's profile Send private message
nail



Joined: 30 Jun 2004
Posts: 18
Location: Krasnoznamensk, Moscow region, Russia

PostPosted: Thu Jun 29, 2006 3:05 am    Post subject: Reply with quote

Oops... Totaly forgot about forum

Quote:
Since isnormal() appears for so many of the classes, I suppose there's some justification for it not following the camelCaseConvention used elsewhere in Helix, but I haven't found an explanation anywhere.

Is it simply an effort to be consistent with Phobos (and if so, is there a reason for Phobos math functions to be named in this manner?) or is there some other reason?


Yep, that is because corresponding Phobos' functions are named looks like that. This made for some disambiguate terms 'normal' in sense of IEEE's normal number and in sense of perpendicular to tangent.
_________________
Victor Nakoryakov
nail-mail[at]mail.ru
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Helix 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