News for hackers. Stuff that matters.
Re:Black, the uncompromising Python code formatter, is stable by j1elo on Saturday January 29, 2022 @04:45PM (#30130857)
I'm not a full time Python dev so I won't (can't) get into what choice has more merits. But there is this:

https://black.readthedocs.io/en/latest/the_black_code_style/...

Seen from outside, I think the double quotes are just the natural form of strings in lots of other places, at least in those that come from the same family than C (C++, Java, C#, Rust, just to name a few)

Also Prettier.js (which I'd call the "Black of JavaScript") also settled on double quotes. So we're left with a de facto consensus across programming languages as a whole, which kind of feels nice.

There are no comments on this comment yet.