Shall we introduce some code standards?

13 views
Skip to first unread message

Johnny Jian

unread,
Dec 20, 2011, 9:27:16 PM12/20/11
to gmoc...@googlegroups.com
I am looking at our codes, and I find them too loose. Shall we introduce some stricter code standards?

For example:
  1. cannot omit return types or parameter types of method signatures
  2. cannot omit types of fields
  3. these types should use generics
  4. all interfaces should be written in java
  5. statements have no restrictions
These rules can make the code easier to read and help the ide to do type inference (I mean for gmock itself, not for the tests using gmock).

It will start with new codes.

Johnny
Reply all
Reply to author
Forward
0 new messages