Your vote matters here! Login and vote now.
By alashcraft
via misfitgeek.com
Published: Jun 14 2008 / 07:17
![]() | |
| HTML5 Canvas | |
| Written by: Simon Sarris | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By alashcraft
via misfitgeek.com
Published: Jun 14 2008 / 07:17
Comments
clawoo replied ago:
"Tab characters (\0x09) should not be used in code. All indentation should be done with 4 space characters."
Wrong. Wrong. Wrong. Tab indenting is the one true way.
cbang replied ago:
I have to agree. We use space characters only to satisfy 3'rd part tools. The fact of the matter is, you want to express an (one) indentation and not an arbitrary (4?) space characters. Let the tool decide how to render the indentation!
sarajo replied ago:
This is a good start, but there is much more that needs to be standardized.
Also, I have often debated the necessity of brackets in single line if statements. I have not opinion either way, but don't feel there is a def "yes" or "no" answer.
Voters For This Link (12)
Voters Against This Link (0)