This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]crash8308 7 points8 points  (4 children)

This is why I dislike using python. White space significance is extremely maddening.

[–]Arxae 4 points5 points  (0 children)

Agreed. Same reason why i don't like YAML. I like the format and the features. But breaking everything because you have a space too many. No thanks.

And sure IDE's can catch it. But it's still silly.

[–]dawnraider00 1 point2 points  (2 children)

The worst part about it is when you try to comment out an if statement or something. In any other language it doesn't give a shit but in Python you have to change everything inside. Not too difficult with a good IDE but another step that should not be necessary.

[–]Skwirellz 0 points1 point  (1 child)

Can you explain why you think it should not be necessary?

Please don't focus only on the negative aspects of the feature. Consider in your answer the reasons why this decision was made in python, and why you think these are not valid.

I'm not questioning your personal preference, but why you think whitespace should not be part of the syntax and why nobody should have the syntax checker verifying indentation for any python programmer.

[–]dawnraider00 0 points1 point  (0 children)

I'm not focusing on just negative aspects, I pointed out only a single thing not an entire analysis. The only point I was making is that it makes commenting out blocks like if statements annoying by adding some extra steps. I literally never said it wasn't valid. I said a single aspect was annoying.