Penguin

Differences between version 5 and predecessor to the previous major change of TabStops.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 5 Last edited on Monday, November 3, 2003 9:20:52 am by JohnMcPherson Revert
Older page: version 3 Last edited on Sunday, November 2, 2003 10:40:00 pm by CraigBox Revert
@@ -18,4 +18,11 @@
 !But they push my code too far to the right 
 Then your logic is too complicated, go break it into another function to simplify it. 
  
 The correct answer is to use 8 character tabs. Sure they are wider than they need to be, but they ''work''. Anyone who tries to tell you that tabs should be whatever else they feel like (2? 4? 5? 6?) needs to be shot. Especially if they ever think that their code is going to be viewed by anyone else, so unless you are writing a proprietary program and never planning on giving the code away or ever showing it to anyone, DON'T CHANGE THE TAB SIZE. 
+  
+''It is a good idea to point out that when pressing Tab Vim can actually insert X amount of spaces for you. For example, try typing:''  
+ :set tabstop=8  
+ :set shiftwidth=4  
+''This means that when you press tab you get 4 spaces.'' -- SamJansen  
+  
+Of course, if everyone just used python then it wouldn't matter.