2008-11-19から1日間の記事一覧
自分はifとかfor文が影響するコードが一行の場合、「{(中括弧)」をほとんど付けない人間です。 例えば int count = 0; if(hoge == null) { count++; } というコードは int count = 0; if(hoge == null) count++; こう書くことが多いです。もちろん常にそうで…
自分はifとかfor文が影響するコードが一行の場合、「{(中括弧)」をほとんど付けない人間です。 例えば int count = 0; if(hoge == null) { count++; } というコードは int count = 0; if(hoge == null) count++; こう書くことが多いです。もちろん常にそうで…