Thread
:
Clean Coding - Common Sense
View Single Post
#
3
04-10-2007, 04:07 PM
JkWhoSaysNi
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
Me either. The spaces inside the ( brackets offend me too
Heres how I do it:
PHP Code:
if (var) {
...
}
i guess
if (var)
has more meaning if you name your boolean variables as verbs as I tend to do e.g.
if (finished)
__________________
Coming soon (Hopefully:P)
JkWhoSaysNi
View Public Profile
View GraalOnline Profile
Visit JkWhoSaysNi's homepage!
Find all posts by JkWhoSaysNi