4 ms·
I'm willing to forgive the creators of Python if they didn't optimize their syntax for copying-and-pasting code. Hotfixing is a naturally perilous process rega
by sbov 16y ago
I'm willing to forgive the creators of Python if they didn't optimize their syntax for copying-and-pasting code.
Hotfixing is a naturally perilous process regardless of language. I've spent hours tracking down untested hotfixes in Java.
You're also probably less likely to come across a badly formatted block of python code because that would generally result in a bug. Much like misplaced brackets in Java/C/C++ would result in a bug.
It doesn't make the code magically better. It makes it less redundant. Indentation should already be there, why do you need curly brackets?
- cageface 16y agoI'm willing to forgive the creators of Python if they didn't optimize their syntax for copying-and-pasting code. Copying and pasting is also known as refactoring. A syntax that makes that much harder than it needs to be is mis-optimized, IMO.
- Jach 16y agoBut code is read far more than refactored, so I think it's an okay tradeoff. (Plus what editors are ya'll using where changing the indentation of something is difficult?)