Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic

Tab width?
2 spaces  17%  [ 11 ]
3 spaces  3%  [ 2 ]
4 spaces  63%  [ 41 ]
5 spaces  2%  [ 1 ]
6 spaces  2%  [ 1 ]
7 spaces  0%  [ 0 ]
8 spaces  14%  [ 9 ]
Total votes : 65
Author Message
PostPosted: Sat Mar 24, 2007 1:39 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Your preference for tab width for proper code viewing pleasure is...?

-Chris


Top
   
PostPosted: Mon Mar 26, 2007 12:43 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
caker wrote:
Your preference for tab width for proper code viewing pleasure is...?

-Chris



For the Pythonistas, Guido's Guide is at:

http://www.python.org/dev/peps/pep-0008/

"Use 4 spaces per indentation level."


Top
   
 Post subject:
PostPosted: Mon Mar 26, 2007 11:19 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
I don't tab; I "2 space".

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Tue Mar 27, 2007 3:05 am 
Offline
Senior Member
User avatar

Joined: Wed Jan 24, 2007 12:04 am
Posts: 90
Website: http://www.smiffysplace.com
Location: Rural South Australia
8 takes up too much screen real-estate, 2 is too small to see and all values that are not powers of 2 are out - so 4 ;-)


Top
   
 Post subject:
PostPosted: Tue Mar 27, 2007 9:13 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
smiffy wrote:
...all values that are not powers of 2 are out


Since a 1 represents yes, a 0 represents no, and a 0.5 represents maybe... powers of 3?

James


Top
   
 Post subject:
PostPosted: Tue Mar 27, 2007 4:42 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 12:35 am
Posts: 118
Website: http://www.necrobones.com/
Location: Sterling, VA
I had to vote 8 since that's what I use 99% of the time. If I'm dealing with some heavily-indented code (sometimes due to my own coding laziness), I'll re-define the tab to 4 spaces temporarily. I like 4-space indentation visually, but not enough to change my habits. :)

_________________
----
Ed/Bones.


Top
   
 Post subject: 80.
PostPosted: Wed Mar 28, 2007 11:04 pm 
Offline
Senior Newbie

Joined: Sat Oct 01, 2005 12:54 am
Posts: 13
I have my tabstops forced to 80 along with having visual spaces/tabs turned on. (So I can easily see when someone tries to sneak tabs into my code :P)

(Drupal coding standards say "use two spaces, no tabs.")

_________________
--Bdragon


Top
   
 Post subject:
PostPosted: Sun Apr 08, 2007 6:06 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
I hit the tab key, so whatever a tab happens to be :P


Top
   
 Post subject:
PostPosted: Thu Jan 24, 2008 3:06 pm 
Offline
Senior Newbie

Joined: Sat Jan 19, 2008 8:37 pm
Posts: 19
i use 4, but like NecroBones i'm willing to redefine the tab size based on the code


Top
   
 Post subject:
PostPosted: Thu Feb 21, 2008 11:51 pm 
Offline
Senior Newbie
User avatar

Joined: Thu Feb 21, 2008 11:40 pm
Posts: 7
AOL: matt@lonelyvegan.com
I loooove three-space tabs, but will settle for four. Two bugs me. Anything above four is really stupid to me, even when I'm on a 24" iMac :P


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group