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

Programmer Humor

19149 readers
1218 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 1 points 4 months ago (2 children)

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

[–] LostXOR@fedia.io 1 points 4 months ago

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

[–] rufus@discuss.tchncs.de 1 points 4 months ago (1 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 1 points 4 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