4 ms·
It's harder when the source or the destination isn't all indented in quite the same way, which happens often if you start a block, press enter and end up on an
by MrJohz 1y ago
It's harder when the source or the destination isn't all indented in quite the same way, which happens often if you start a block, press enter and end up on an indented line, and then paste the code.
I don't really get the readability argument - like the lisper I was replying to said, it's all much of a muchness. A shell where arguments are delimited by commas is a function call in most programming languages, and people don't struggle with readability there. If anything, I find having an explicit "close block" symbol a useful visual marker on the page, but I write Python fairly regularly and don't really notice much readability differences compared to any of the brace-using languages I work with.
- mixmastamyk 1y agoI configure my basic editor to remove trailing whitespace on save, not specifically for that reason but it does mitigate it. The point was that whitespace was always significant. People like to pretend it isn’t for some reason. Perhaps because it has a minimum though not a maximum. There’s a reason Python is considered very readable and “executable pseudocode.” Less delimiter and sigil noise is the main reason.