Tabs are evil, because they're formatted in different ways on different editors. Your text editor should allow for switching to soft spaces when you hit tab. The official scriptaculous/prototype/rails style is 2 spaces instead of a tab.

You do use an editor that allows for this, do you...? :)

-Thomas

Am 17.02.2006 um 15:38 schrieb Ryan Gahl:

As far as indenting... the fact that the author(s) used spaces for
indentation in the first place has always been an annoyance. Why not
just hit the TAB key once and make all tabs equal rather than hitting
space multiple times and ending up with all sorts of inconsistent
indentation?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to