News for hackers. Stuff that matters.
Re:Shell Style Guide from Google by rossjudson on Saturday June 04, 2016 @11:07PM (#11839441)
Wrong. 3 spaces is the sweet spot. What is it with you people and powers of two? ;)
Re:Shell Style Guide from Google by lisivka on Sunday June 05, 2016 @10:48AM (#11841220)
It is easy to catch an indentation error with two spaces, while it is harder to make an indentation error with just two spaces. It also easier to type two spaces than 3 or 4 spaces, which is important when program is typed without help of an autoindentation tool. Two spaces are enough for fixed length font, typical in terminal, but also saves screen space, which is just 80 characters in width.