Ancestors

Toot

Written by Daniel Quinn on 2025-01-17 at 17:20

Code formatters like ruff, black, and djade are great, but the way they casually delete empty lines and lack any ability to disable this "feature" is infuriating.

Code is dense and for many, hard to read without white space. Adding an extra blank line can mean a great deal for general readability and can do wonders for those with dyslexia.

Please just give me the option to have your tools just not nuke them!

=> More informations about this toot | More toots from danielquinn@mastodon.social

Descendants

Written by Boyd Stephen Smith Jr. on 2025-01-17 at 18:53

@danielquinn Disagree, but also have you tried providing that vertical spacing you want via a comment?

=> More informations about this toot | More toots from BoydStephenSmithJr@hachyderm.io

Written by Daniel Quinn on 2025-01-17 at 19:18

@BoydStephenSmithJr yeah, I've had to resort to hacks like that, but it can actually end up taking away from the readability because the space is no longer empty. Doing this for Djade for example requires {# - #} to be added above a {% block %} tag, not exactly making things clearer :-(

=> More informations about this toot | More toots from danielquinn@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113844843904001405
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
231.738304 milliseconds
Gemini-to-HTML Time
0.441348 milliseconds

This content has been proxied by September (ba2dc).