More Related Content
Similar to PHPer女子が語る!こんなコードを書くヒトはモテない~きほん編~@PHPカンファレンス2014 (8)
More from Hikari Fukasawa (12)
PHPer女子が語る!こんなコードを書くヒトはモテない~きほん編~@PHPカンファレンス2014
- 2. 株式会社スタジオ・アルカナ
ふかさわ ひかり
@hico00
PHP勉強会によくいます
#エンジニア女子 #21さい #iPhone6
#ハイボールがすき #ケーキがすき #カラオ
ケがすき #ひつじがたべたい #かぜひいた
#FF14ぜろむす鯖 #スクフェスはじめました
- 9. 非モテコードそのいち
$himoteCode = new HimoteCode();
!
$aList = $himoteCode->getListA();
!
$bCount = array();
!
foreach ($aList as $key => $row) {
!
array_push($bCount, $row[‘b_count’]);
!
}
- 11. 非モテコードそのいち
いみのわからない、なまえ
$himoteCode = new HimoteCode();
!
$aList = $himoteCode->getListA();
!
$bCount = array();
!
foreach ($aList as $key => $row) {
!
array_push($bCount, $row[‘b_count’]);
!
}
- 12. 非モテコードそのに
foreach ($list as $key => $item) {
foreach ($item as $id => $row) {
foreach ($row as $name => $value) {
・・・
}
}
}
- 14. 非モテコードそのに
foreach じごく
foreach ($list as $key => $item) {
foreach ($item as $id => $row) {
foreach ($row as $name => $value) {
・・・
}
}
}
- 15. 非モテコードそのさん
if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0)
goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &clientRandom)) != 0)
goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
goto fail;
goto fail;
if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0)
goto fail;
- 17. 非モテコードそのさん
{ } のない if文
if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0)
goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &clientRandom)) != 0)
goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
goto fail;
goto fail;
if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0)
goto fail;