News for hackers. Stuff that matters.
Re:Black, the uncompromising Python code formatter, is stable by HALtheWise on Saturday January 29, 2022 @05:27PM (#30131217)
Additionally, standardizing all quotes makes searching for a specific string literal across a codebase easier, since you don't need regex to match against both quote types. Once you've decided to standardize strings, it doesn't matter much which one you pick.

Personally, I still type single quotes in almost all cases, and just let Black reformat to double quotes to save shift key presses.

There are no comments on this comment yet.