Link Details

Link 87116 thumbnail
User 285573 avatar

By alashcraft
via misfitgeek.com
Published: Jun 14 2008 / 07:17

BradA referred me to some Internal Coding Guidelines hat I thought I'd share.
  • 12
  • 0
  • 1433
  • 344

Comments

Add your comment
User 224473 avatar

clawoo replied ago:

-2 votes Vote down Vote up Reply

"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.

User 281050 avatar

cbang replied ago:

-1 votes Vote down Vote up Reply

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!

User 287218 avatar

sarajo replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)