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

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

[-] LostXOR@fedia.io 36 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

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

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

this post was submitted on 07 May 2024
625 points (100.0% liked)

Programmer Humor

19551 readers
913 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