2 ms·
For all purposes, yes it means 8 spaces. Type this in a bash terminal: $ printf '1234567890\n\tx\n' For the second paragraph: I couldn't agree more. There's e
by raverbashing 13y ago
For all purposes, yes it means 8 spaces.
Type this in a bash terminal: $ printf '1234567890\n\tx\n'
For the second paragraph: I couldn't agree more. There's even some "geniuses" that indent python with the 1st level being 4 spaces and the second level as a tab. * sigh *. Really.
- cocoflunchy 13y agoWhat about this? printf '1234567890\n1\tx\n12\tx\n123\tx\n1234\tx' 1234567890 1 x 12 x 123 x 1234 x Tabs are not fixed width, that's the whole point of their existence.
- raverbashing 13y agoYes, this is how it works for alignment, so you don't need spaces to align the x there This is a non issue when you have nothing to the left of the code (that is, when indenting) (and the x should be under the 9 btw)