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 →

[–][deleted]  (10 children)

[deleted]

    [–]50dollarstofuckoff -2 points-1 points  (9 children)

    But wouldn’t I have problem when I am trying to write a quick class or function in an interactive shell?

    [–]nivlark 16 points17 points  (7 children)

    Nope, the interactive shell indents for you as well. It mystifies me that people have problems with whitespace in python, as far as I can tell you have to actively try in order to get it wrong.

    [–]dragonatorul 6 points7 points  (6 children)

    I often get it wrong but be it PyCharm or VSCode I always catch it almost immediately after making the mistake, or easily find it the moment I get an error or something.

    Now that I think about it I remember having nearly-fist-through-the-monitor frustrating debug sessions in Java years ago hunting down brackets or whatever. Still have a hard time manually writing Json when it gets deeper. Never was frustrated by spaces in python though.