this post was submitted on 21 Mar 2025
663 points (99.4% liked)

Programmer Humor

21850 readers
1477 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Original post: hachyderm.io (Mastodon)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] palordrolap@fedia.io 8 points 3 days ago (1 children)

In this instance, I think there was some suggestion to write code in mostly lower case, including all user variables, or at least inCamelCaseLikeThis with a leading lower case letter, and so to make True and False stand out, they've got to be capitalised.

I mean. They could have been TRUE and FALSE. Would that have been preferable? Or how about a slightly more Pythonic style: __true__ and __false__

[โ€“] jdeath@lemm.ee 4 points 3 days ago

i would go with lowercase and just have it be a reserved word like the other ones. but I'm not super picky, i generally like to stick to what people are used to, and i can understand the reasoning behind the choice.