Actions
Code Standards » History » Revision 2
« Previous |
Revision 2/21
(diff)
| Next »
Amber Herold, 03/05/2010 01:47 PM
Code Standards¶
If everyone uses the same coding style, it is much easier to read code that someone else wrote. That said, style is not important enough to enforce during a code review. It is much more important to ensure that best practices are followed such as implementing error handling .
Python¶
PHP¶
This one is a bit old, but lots of good stuff that goes beyond style. Some things are questionable. I prefer Getters/Setters over Attributes as Objects (at least how the example shows it) to allow for better error handling.
Updated by Amber Herold almost 15 years ago · 2 revisions