Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by bd_at_rivenhill on Saturday January 08, 2011 @12:10AM
(#2082317)
Not when you get used to it.
[ Parent
| on HN ]
Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by redthrowaway on Saturday January 08, 2011 @12:26AM
(#2082354)
That's what they said about Lisp and Perl.
Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by ehsanul on Saturday January 08, 2011 @12:52AM
(#2082404)
I can't tell whether you're just being tongue-in-cheek, or perfectly serious. I hope the former.
Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by redthrowaway on Saturday January 08, 2011 @01:00AM
(#2082421)
Little of both, really. I actually think Lisp is beautiful, although it can be difficult to read. As for Perl...
http://www.foo.be/docs/tpj/issues/vol3_2/tpj0302-0012.html
No excuse.
Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by natep on Saturday January 08, 2011 @01:47AM
(#2082485)
I don't think you're supposed to be able to get used to obfuscated anything. By that metric, C is equally unreadable: http://ioccc.org/
I've seen very readable perl code, although I won't use that to make sweeping generalizations about the entire language.
Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by redthrowaway on Saturday January 08, 2011 @01:53AM
(#2082498)
To be fair, I never said C was pretty. I have no real problem with Perl aside from its overabundance of punctuation.