by dszoboszlay · 3y ago · 0 comments
Also makes it hard to copy a snippet to run inside a REPL or whatever.
In general just a huge amount of pain, and the "good thing" about how it forces well formatted code I've never seen as an issue with autoformatters and linters in othet languages.
Than everything just works.
(For that to work even better the stupid feature of some editors to remove white space form all empty lines should be disabled. So pressing enter or going to the next empty line will always position the cursor on the correct indentation level. Than it's easy to paste code blocks everywhere as even empty lines are correctly indented).
That's exactly the same "clean up" you need to do if you did something wrong while copy & pasting code without the useless block delimiters.
The rest is made up as someone pointed out already: Exactly this story comes up every time but in reality it never happens. (Besides when someone tries hard to get it wrong by all means only to prove their made up point).