12
NamanB
3y

๐Ÿever got random indentation errors in python, When there was no indentation error there??๐Ÿ™‚

Comments
  • 0
    I wouldn't understand people that ignore spacing anyway, so in that regard I don't have problem with Python. It's just everything else...
  • 1
    Indentation usually sucks in python, once I debugged about 100 lines of code just by backspace and enter to make it correct.
  • 0
    The language of god is math. Gtf out of here with your snake charmer bullshit ;-)
  • 4
    I don't know why people always whine about this. I've never, ever had an issue with this, and if you have one then oh well, run it through a regex and everything's consistent again.

    Python has many problems but this isn't that bad imho.
  • 2
    Problems like this were solved decades ago...

    Linters / Formatters exist for a reason.

    You can even - bat shit crazy I know! - not use an IDE and invoke them manually on a command line shell as they are usually well adapted to being automated.

    ...of course you could still go on and self mutilate yourself by counting whitespaces, breaking out the tab key from the keyboard or other stuff....

    Entirely up to you.

    I like the linting way. Plain and simple.
  • 0
    @ArcaneEye math is just a tool to explain the physics and understand it.
    A tool tht has a beauty and patterns of its own.
  • 0
    I don't write code in Notepad, so my editor handles all the whitespace crap for me. This problem has been solved for decades. All editors have auto-indenting now, even if you don't use a linter (but you should).
  • 0
    @EmberQuill yes but sometime it gets bugged while copying code from somewhere
    It has happened with me a few times
    Not a critical issue
    But it sucks whenever it happens
Add Comment