Fennec/NativeUI/CodingStyle: Difference between revisions

Jump to navigation Jump to search
→‎Java: add single-line braces
(→‎Java: clarify some things)
(→‎Java: add single-line braces)
Line 27: Line 27:
     }
     }
  }
  }
 
** Always use braces, even for single-line statements. This has been shown to reduce the occurrence of accidental bugs.
* Places we differ from the Java coding style:
* Places we differ from the Java coding style:
** Start class variable names with m (e.g. mSomeClassVariable)
** Start class variable names with m (e.g. mSomeClassVariable)
Confirmed users
586

edits

Navigation menu