:: Re: [DNG] Starting outline for the …
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Josef Grosch
日付:  
To: 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.