3 ms·
I prefer not to be forced to use correct indentation. I do so as a matter of course. And on the odd occasion I have some reason to use odd indentation, I want t
by spaceborn 13y ago
I prefer not to be forced to use correct indentation. I do so as a matter of course. And on the odd occasion I have some reason to use odd indentation, I want to be able to do that too. I like to write my code according to my own judgement. I don't feel that indentation ought to be part of a language, just part of the code.
That said, I do sometimes write in Python and I have nothing against the language. This isn't meant to be an attack on Python.
Edit: also, the indentation in the first example is obviously just a means of illustrating that whitespace is non-significant with this project. I don't think they're suggesting code ought to be written without correct indentation.
- chilldream 13y ago> Edit: also, the indentation in the first example is obviously just a means of illustrating that whitespace is non-significant with this project. I don't think they're suggesting code ought to be written without correct indentation. Does anyone anywhere have a realistic example of Python's indentation system being a hindrance? To me, the complaint always comes across as "I should hypothetically be able to do things that I would never actually do or endorse doing" And it's not like there's no flexibility for weird corner cases. I mean, all of these things are already legal Python 3: for i in range(10): print(i) # although you wouldn't actually do this a = 3; b = 5; # a,b = 3,5 # and you REALLY wouldn't do this but I couldn't help coopting their example if foo == "bar": _=( print("indenation"), print("doesn't"), print("matter!") )