News for hackers. Stuff that matters.
Re:Ask HN: When you code, do you use tabs or spaces? by tgflynn on Thursday December 19, 2013 @07:57AM (#6934351)
I always use spaces because there is no ambiguity of interpretation (ie. 1 space is always 1 space whereas tabs can be set to different indentations depending on the editor). Using tabs leads to the potential for different indentation behavior with different editors and mis-formatted code.
Re:Ask HN: When you code, do you use tabs or spaces? by frobozz on Thursday December 19, 2013 @11:05AM (#6935453)
Interesting. I use tabs because there is no ambiguity. One tab is one level of indentation. How big that indentation appears on screen is up to the viewer.