2 ms·
Anyone who has maintained Makefiles will have a strong opinion on semantic whitespace. Maybe not opinion, but reaction. Generally involving visceral fear or a
by reeses 13y ago
Anyone who has maintained Makefiles will have a strong opinion on semantic whitespace.
Maybe not opinion, but reaction. Generally involving visceral fear or anger.
It's not that it's always bad, every hour of every day. It's that one time, at 1am, when you shouldn't be working but you are, something doesn't behave properly, and it turns out Bob the Intern re-indented a block of code to use tabs instead of spaces[1], but you couldn't see it because your editor is configured to use four spaces per tab and your coding standards dictate four spaces per level of scope.
[1] Why are you using spaces anyway, you complete and utter savage?
- aiiane 13y agoWhich is why you set your editor to use something other than the same number of spaces as your indent levels. It works especially well if one isn't a multiple of the other - e.g. having the editor display tabs as 5-space width.
- read 13y agoAnyone who has maintained Makefiles will also have a strong opinion on compiled languages.
- deleted 13y ago[deleted]