Raised This Month: $ Target: $400
 0% 

View Poll Results: Do you use Tabs or Spaces?
I use tabs. 22 68.75%
I use spaces. 7 21.88%
I find this poll to be useless. 16 50.00%
Multiple Choice Poll. Voters: 32. You may not vote on this poll

Tabs vs Spaces


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 01-07-2008 , 19:56   Tabs vs Spaces
Reply With Quote #1

Forewarning: This is a futile poll, and is merely just a preference, or maybe a requirement for some to use one or the other, but I ask which and why you use while scripting/coding.
LET THE EPIC BATTLE BEGIN.

When I used to script in AMXX, and now when I'm coding I use tabs.
But often times I see some people say they prefer spaces (they set tab to insert to place N number of spaces, and shift+tab to remove those spaces).
I can see that in some situations tabs aren't recognized so they end up screwing up a section of code that was copy/pasted or cut/pasted to a new window, so I can see why spaces are sometimes better, but I find that Tabs help a lot with auto aligning things like if you are declaring multiple variables of different types, and you want to align the next column.
I also see that in some browsers, if you have more then one space next to each other, it would remove any additional spaces.

Meh. Just a few points that I've seen summed up:
-Pro Tab: Some programs remove extra spaces placed next to each other automatically, especially some browser type text boxes.
-Pro Tab: When using tab key to place in spaces, I am not aware if it will automatically align to the next 'column'
-Pro Space: Some programs let you make the tab key insert spaces instead of a tab.
-Pro Space: Some programs, or text fields may not accurately register a tab, and instead create problems in your code when you copy paste from that textbox later on.

I guess I'm a lil more tab prone.
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))

Last edited by TheNewt; 01-07-2008 at 20:04.
TheNewt is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode