Why does it matter how a tab is displayed in a different editor? A tab
is a tab, it denotes "indent". Furthermore, tabs are semantically
accurate, allowing different users to choose how much indentation they
want. For people with keen eyesight they can set tabs to be displayed at
one-space. People with wide monitors can use 4 spaces. Etc. Hit tab and
you go right one. Hit backspace and you go left one - unlike using softtabs.
Soft tabs are tables.
Tabs are CSS
Anyone who thinks spacing is better than tabs is unequivocally wrong.
No-one will ever sway me from this opinion, I am *that damn sure*.
Thomas Fuchs wrote:
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
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs