this post was submitted on 23 Aug 2023
174 points (80.6% liked)

Programmer Humor

32464 readers
366 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
[–] [email protected] 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 11 points 1 year ago (1 children)

🀚 true, false

πŸ‘‰ 0x01, 0x00

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

[–] [email protected] 4 points 1 year ago

🀚 0=false, 1=true

πŸ‘‰ 0=true, 1=false

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

[–] [email protected] 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.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

Just put

true = False
false = True

at the top of your files.