(programming) A potential ambiguity in a programming language that occurs when an else clause can be associated with either a nested conditional or with the clause that encloses the nested conditional.
dangling else
コンパイラのテストをデバッグしていたとき、ネストされた条件文とそれを囲む条件文のどちらに属するかが曖昧になる else 節の問題に遭遇し、内側の if が誤った分岐に結びついてしまった。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★