最終更新日:2025/12/08
(programming, informal) A source code formatting preference resembling K&R style, but where functions have their opening braces on the same line separated by a space, and the braces are not omitted for a control statement with only a single statement in its scope.
音声機能が動作しない場合はこちらをご確認ください
正解を見る
one true brace style
編集履歴(0)
元となった辞書の項目
one true brace style
固有名詞
くだけた表現
日本語の意味
プログラミング用語(非公式)として、K&Rスタイルに類似したソースコードのフォーマット方式。具体的には、関数定義において、関数名やパラメータと同じ行に開き中括弧を配置し、制御文(if, for, etc.)で一つの文だけの場合でも中括弧を省略せず必ず使用するという特徴を持つスタイルです。
( canonical )