conditional with no curly brackets
View Single Post
07-30-2010, 05:34 PM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,597 Times in 2,566 Posts
Conditions without curly braces only apply to the next line in the code. I personally do not omit the curly braces regardless of if its one line due to the readability aspect.
'HTTP/1.1 420 Enhance Your Calm'
View Public Profile
Find More Posts by Fou-Lu