2008-08-03から1日間の記事一覧
感覚でプログラム書く人なんているんだなぁ。 と、言うのも、昨日 char* hoge(); ... void piyo() { char firstCh; ... firstCh = hoge()[0]; ... } こんなコードを書いたら、「そんなコード通らないでしょ」と。 なんで?と聞いたら、「いや、普通に考えて…
2. Put units in your variable names変数名にユニットを含めろIf you are writing an engineering application you are going to be using variables with units. Embed the unit name in the variable, for example, distanceInMM.あなたが engineering ア…
疲れた。