this post was submitted on 12 Aug 2023
581 points (100.0% liked)

196

17598 readers
639 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SaintWacko@midwest.social 19 points 2 years ago (2 children)

See, this is what's wrong with Prager U! Why would you use double quotes instead of single quotes for defining a string?

[–] diaphanous@feddit.de 3 points 2 years ago

I always use double quotes for output string, and single quotes for internal ones.

[–] snugglebutt@lemmy.blahaj.zone 2 points 2 years ago (1 children)

Aren't they interchangeable in python?

[–] Sivecano@lemmy.dbzer0.com 4 points 2 years ago

Yes, but as someone with even a little pride and some c/c++ experience I always use double quotes