Thread: A space or not?
View Single Post
Old 01-06-2008, 03:55 PM   #1 (permalink)
Karl
The Reckoner
Advanced Programmer Top Contributor 
 
Karl's Avatar
 
Join Date: Sep 2007
Posts: 437
Thanks: 22
Karl is on a distinguished road
Default A space or not?

OK, maybe it's just me, but I'm sick of people not adding a space after their if/else/while/etc. keywords. It really annoys me, it's not a function, so add a bloody space!

Just curious, where does everyone stand on this issue? I'm expecting to be a minority here, it seems everywhere I look people are omitting those spaces.

Example:

PHP Code:
if($something SOMETHING_FLAG
compared to:

PHP Code:
if ($something SOMETHING_FLAG
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Karl is offline  
Reply With Quote