PLABO
Programming Linux And Bioiformatics Omnibus (by Pablo Marin-Garcia)
Saturday, 6 February 2010
reading about indentation styles in wikipedia
1
K&R style
1.1
Variant: 1TBS
2
Allman style (bsd in Emacs)
3
BSD KNF style
4
Whitesmiths style
5
GNU style
6
Horstmann style
7
Pico style
8
Banner style
9
Other considerations
9.1
Losing track of blocks
I prefer the 1TBS with 4 space tabs.
But the Allman style is also useful to keep track of the braces
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment