On 7/28/21 1:12 PM, Steve Litt wrote:
[ Beverity ]
Does anyone have other list items to add?


Now that you got me thinking;

One should be explicit instead of implicit. I see this in code all the time and it drives me crazy


// NO

if (condition)

    doSomething();


// YES

if (condition) {

    doSomething();

}


C and Java let you get away with this. The existence of real block delimiters makes clear the intent.


Josef

--
Josef Grosch            | Another day closer |
jgro...@mooseriver.com  | to Redwood Heaven  | Berkeley, Ca.


_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to