:: Re: [DNG] Starting outline for the …
Etusivu
Poista viesti
Vastaa
Lähettäjä: Josef Grosch
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Starting outline for the DNG Safe Programmer Certificate
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 |
jgrosch@???  | to Redwood Heaven  | Berkeley, Ca.