628
Those damn liberules (sh.itjust.works)
submitted 2 years ago by mbeezy@sh.itjust.works to c/196
you are viewing a single comment's thread
view the rest of the comments
[-] Lux 55 points 2 years ago

hey i didn't know prager u did python! they're just defing a variable (RACISM) and setting the value to a string (BAD)

[-] SaintWacko@midwest.social 22 points 2 years ago

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

[-] snugglebutt 5 points 2 years ago

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

[-] diaphanous@feddit.de 4 points 2 years ago

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

[-] kamenoko@sh.itjust.works 10 points 2 years ago

Should have set it to None since PraegerU doesn't think it exists.

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

196

17543 readers
542 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