624
The easiest problem (discuss.tchncs.de)
you are viewing a single comment's thread
view the rest of the comments
[-] NegativeLookBehind@lemmy.world 51 points 7 months ago

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

[-] LostXOR@fedia.io 37 points 7 months ago

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

[-] rufus@discuss.tchncs.de 12 points 7 months ago

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 7 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 7 months ago
[-] aBundleOfFerrets@sh.itjust.works 5 points 7 months ago

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 7 months ago

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

this post was submitted on 07 May 2024
624 points (97.6% liked)

Programmer Humor

19821 readers
535 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