3 ms·
> If you see code without empty lines separating different steps, that's pretty badly written Python. You're describing literally all of the Python I've ever s
by smt88 4y ago
> If you see code without empty lines separating different steps, that's pretty badly written Python.
You're describing literally all of the Python I've ever seen. Look at Flask, for example[1].
Furthermore, without brackets, adding newlines in a code block forces me to then add more newlines between blocks (which Flask also does!)
I would rather just have easy-to-scan, clear characters that demarcate a code block.
1. https://github.com/pallets/flask/blob/main/src/flask/templating.py https://github.com/pallets/flask/blob/main/src/flask/templat...