this post was submitted on 07 May 2024
622 points (97.7% liked)

Programmer Humor

19623 readers
1 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] NegativeLookBehind@lemmy.world 51 points 6 months ago (2 children)

You should really be naming all your variables by generating 64 character (minimum) random strings.

[–] LostXOR@fedia.io 37 points 6 months ago

Who needs private variables when you can generate cryptographically secure variable names? Much better security.

[–] rufus@discuss.tchncs.de 12 points 6 months ago (2 children)

Make it 63 (31?) to align with what C99 can distinguish.

Also: I really like unicode in identifiers. So if at all possible don't just have a random string of letters and numbers, make sure to include greek letters and all the funny emojis. (I just forgot which languages and compilers etc allow that.)

[–] BodilessGaze@sh.itjust.works 17 points 6 months ago

For extra fun, you can name your variables using solely Unicode invisible characters (e.g. non-breaking space) so they're impossible to visually distinguish

[–] NegativeLookBehind@lemmy.world 0 points 6 months ago (1 children)
[–] aBundleOfFerrets@sh.itjust.works 5 points 6 months ago (1 children)

Wingdings is a font and has no effect on the actual code. Only people who set their IDE font to wingdings will see wingdings

[–] NegativeLookBehind@lemmy.world 7 points 6 months ago

Remove all fonts from the devs computers except for Wingdings and Webdings.