Thread Previous • Date Previous • Date Next • Thread Next |
On 13/04/12 02:02, Daniel d'Andrada wrote:
Hi, Everywhere in unity code I see the following coding style: if (foo) { bar(); } But the Google coding guidelines present in guides/cppguide.xml says that it should be: if (foo) { bar(); } So which one is correct, the first (meaning that cppguide.xml has to be updated) or the second?
Hi Daniel,I think it has been generally agreed by the developers that the first is preferred. Which indicates that the cppguide should be updated.
Tim
Thread Previous • Date Previous • Date Next • Thread Next |