Re:10 Best Practices of Code Commenting & Formatting
by forrestblount on Monday March 26, 2012 @08:41AM
(#3756342)
When I worked at Google I was blown away by their attention to readability. It makes sense when they preach that any employee (having passed readability for a given language) can commit code to any project. What surprised me most? Extra spaces. After parens, brackets -- anywhere midline you can. This makes it easier to read any line of code and scan the whole document. Of course, they compile and minimize everything before it runs in production.
[ Parent
| on HN ]
There are no comments on this comment yet.