627
Those damn liberules (sh.itjust.works)
submitted 1 year 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 1 year 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 1 year 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 1 year ago

Aren't they interchangeable in python?

[-] Sivecano@lemmy.dbzer0.com 4 points 1 year 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 1 year ago

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

[-] kamenoko@sh.itjust.works 10 points 1 year ago

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

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

196

16553 readers
1988 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS