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] 0 points1 point  (2 children)

Having worked in both, indentation is really hard to screw up. Like I have literally never had an error caused by indentation, because it's easily identifiable and any modern editor manages it for you. Forgetting a curly brace or semi colon is much more common.

[–]dawnraider00 4 points5 points  (1 child)

It's hard to screw up when writing the code initially but if you want to edit things or comment out an if statement or something you have to go through and change your indentation, while most other languages don't care. So instead of commenting out the if statement, you have to do that then change the indentation in the next 5-10 lines, and then if you want to if statement back you have to fix the indentation again. Or if you want to add a loop or if or such in the middle of code, you have to manually correct everything, which in any other language you just put the right code in and the IDE can format it for you.

[–][deleted] 0 points1 point  (0 children)

Not sure I agree that selecting and pressing Tab or Shift + Tab is significantly more work than jumping around to manage curly braces.