this post was submitted on 23 Aug 2023
187 points (81.7% liked)

Programmer Humor

32503 readers
638 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] iso@lemy.lol 10 points 1 year ago* (last edited 1 year ago) (2 children)

🀚True, False

πŸ‘‰ true, false

Please python guys, don’t do this to us πŸ€¦β€β™‚οΈ

[–] TunaCowboy@lemmy.world 11 points 1 year ago (1 children)

🀚 true, false

πŸ‘‰ 0x01, 0x00

Please high level language peeps, don't do this to us 🀦

[–] dandroid@dandroid.app 4 points 1 year ago

🀚 0=false, 1=true

πŸ‘‰ 0=true, 1=false

Please, JS peeps, don't do this to us 🀦

[–] dandroid@dandroid.app 3 points 1 year ago (1 children)

I don't use python too often, but I need to use it every once in a while. Every fucking time I get the red squiggly under "true" and I'm sitting there for a second like, "...the fuck??? Ohhhhh, right."

Every time.

[–] d_k_bo@feddit.de 8 points 1 year ago* (last edited 1 year ago)

Just put

true = False
false = True

at the top of your files.