4 ms·
People use tab width of 3 ;) just to keep us on our toes
by lionkor 3y ago
People use tab width of 3 ;) just to keep us on our toes
- sampo 3y agoIndentation by steps of 3 spaces is common in old Fortran 77 code. This is LAPACK for example. Scroll down to about line 400 to see actual code, not comments. https://github.com/Reference-LAPACK/lapack/blob/master/SRC/cbbcsd.f https://github.com/Reference-LAPACK/lapack/blob/master/SRC/c...
- pull_my_finger 3y agoTab width of 3 is actually really nice in languages like Lua or Ruby that have `end` as a delimiter. It makes nested blocks "step" down very aesthetically.