Last Updated: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.

音声機能が動作しない場合はこちらをご確認ください
See correct answer

one true brace style

Edit Histories(0)
Source Word

one true brace style

Proper noun
informal
Japanese Meaning
プログラミング用語(非公式)として、K&Rスタイルに類似したソースコードのフォーマット方式。具体的には、関数定義において、関数名やパラメータと同じ行に開き中括弧を配置し、制御文(if, for, etc.)で一つの文だけの場合でも中括弧を省略せず必ず使用するという特徴を持つスタイルです。
What is this buttons?

リンターを設定する際、彼女はすべての関数と制御ブロックに対して、関数の開き中括弧を同じ行にスペースで置き、制御文が単一文でも中括弧を省略しないK&R風の「唯一のブレーススタイル」に従うべきだと主張した。

canonical

Dictionary quizzes to help you remember vocabulary

Edit Histories(0)

Login / Sign up

 

Download the app!
DiQt

DiQt

Free

★★★★★★★★★★