Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:39:00 JST 2012
Kouhei Sutou 2012-03-15 18:06:22 +0900 (Thu, 15 Mar 2012) New Revision: 57f367aaaae55b0b5b8e5225403342bd126818cf https://github.com/mroonga/mroonga/commit/57f367aaaae55b0b5b8e5225403342bd126818cf Log: doc coding-style: add a reason about boolean literal Modified files: doc/source/developer/coding_style.rst Modified: doc/source/developer/coding_style.rst (+2 -0) =================================================================== --- doc/source/developer/coding_style.rst 2012-03-15 18:04:54 +0900 (7d41507) +++ doc/source/developer/coding_style.rst 2012-03-15 18:06:22 +0900 (c53e6ea) @@ -424,6 +424,8 @@ bool型を用いる 真偽値のリテラルには ``true`` または ``false`` を用いる ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +真偽値の値として ``true`` と ``false`` はより完結で説明的だからである。 + よい例: bool is_searching = true; -------------- next part -------------- HTML����������������������������...Download