logoalt Hacker News

Georgelementallast Sunday at 8:25 PM2 repliesview on HN

Indentation based is a pain when copy-pasting between contexts with different indentation levels, as you have to fix it up manually, which is error-prone. In languages without it, you can just auto-format. (And even in an editor that doesn't support that, having a second indicator makes it less error-prone to fix manually)


Replies

teifererlast Sunday at 9:16 PM

> have to fix it up manually

Any editor written or actively maintained in the current century does this automatically for you. (Yes that obviously includes Emacs and Vim).

show 1 reply
floxylast Monday at 3:28 AM

>copy-pasting

Underappreciated benefit of side benefit of indentation based languages: no copy-pasta.