← Back to context

Comment by gkbrk

1 year ago

Copy-pasting Python code can easily end up in wrong indentation and broken code. Copy-pasting code in bracketed languages usually pastes and then auto-formats that section automatically.

Sure, but now you're perpetually stuck with the visual noise of unnecessary brackets _all_ the time. Maybe it's because I use vim, but I don't see this use case as terribly important because I can easily reindent with >> and << of a selection.

  • If you use vim and hate brackets that much, write a linter that will hide the brackets from working view and apply them according to how you white space.

  • A lot of people prefer the visual noise of { and } to having to manually fix the indentation of code and still having the visual noise of :