:: Re: [DNG] Starting outline for the …
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Josef Grosch
Ημερομηνία:  
Προς: dng
Αντικείμενο: 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.