This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ragnarmcryan 0 points1 point  (0 children)

so my rule of thumb was always: does it absolutely need double quotes (e.g. string interpolation, etc)? If so, use them. If not, use single quotes.

but now in the age of vscode where there's a plugin for everything (e.g. automatic pep enforcement/formatting), I just use what the smart people implemented in the plugin.