30 ms·
Does the Python community struggle with indentation? I thought it was largely a non-issue.
by traderjane 7y ago
Does the Python community struggle with indentation? I thought it was largely a non-issue.
- singularity2001 7y agoIndentation is an occasional minor annoyance when copy pasting, but otherwise mostly solved by IDEs. In any case very acceptable given the much increased readability and esthetics. I'm not sure if semantic bugs from mixing tabs and spaces are even possible with modern python parsers. if 1: <tab>if 0: <tab><tab>print(1) <spaces*n>print(2) could print 2 if mixing tabs and spaces were allowed. was it ever?
- thechao 7y agoThere was a vertical-tab run in ‘13 that really hurt a lot of us; other than that, the Central Space Bank (at least in the US) has kept things fairly stable. (This is ignoring the doom-and-gloom quantitative-tab-easing conspiracy theory nuts.)