Re:Deconstructing "K&R C"
by Roboprog on Wednesday January 11, 2012 @03:58PM
(#3453647)
Exactly. Fully bracketed syntax prevents this kind of maintenance breakage.
Weird contrast: Perl, for all its klugy syntax, requires fully bracketed syntax on the statement bodies of "if", "while" & the like, so this never happens. Of course, you get other readability issues there...
Weird contrast: Perl, for all its klugy syntax, requires fully bracketed syntax on the statement bodies of "if", "while" & the like, so this never happens. Of course, you get other readability issues there...