Naming conventions: Difference between revisions
→{{header|Go}}: Reworded point 3 which wasn't entirely accurate previously.
(Added Go) |
(→{{header|Go}}: Reworded point 3 which wasn't entirely accurate previously.) |
||
Line 551:
2. Names of all other entities should be either 'mixedCaps' or 'MixedCaps' (no underscores).
3. Names which are
4. If a struct has a private field, 'owner' say, public access to which is via by a getter and/or setter method, then the former should use the style Owner() and the latter SetOwner().
|