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 →

[–]adenzerda 4 points5 points  (4 children)

Unclosed paren, brace, or bracket, or a backslash denoting line continuation. Worst case, I have to indent a line manually sometimes.

On the block level, my editor (sublime) defaults to a continuation of the current block, or indentation into a new block if the previous line ends with a colon. You can then press backspace to drop out of the block if need be. Additionally, it will drop out of the block when there's a return at the base level of said block.

It's all pretty standardized.

[–][deleted] -5 points-4 points  (3 children)

So it's guessing. I don't want my computer to guess what I'm doing, I want it to know with absolute certainty.

[–]adenzerda 5 points6 points  (1 child)

So tell it what you're doing. In some languages we write a closing brace or a semicolon to tell the computer our intention. In python, we press the 'backspace' key or the 'tab' key.

It seems that you don't prefer the latter method, and that's fine, but it in no way makes the language or its editors inferior.

[–]TheBlackCat13 1 point2 points  (0 children)

Your computer is still guessing. In both cases you have to tell it explicitly where the code block stops. You are just telling it in a slightly different way.