this post was submitted on 07 May 2024
620 points (97.5% liked)

Programmer Humor

19480 readers
172 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
[–] [email protected] 51 points 6 months ago (2 children)

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

[–] [email protected] 37 points 6 months ago

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

[–] [email protected] 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.)

[–] [email protected] 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

[–] [email protected] 0 points 6 months ago (1 children)
[–] [email protected] 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

[–] [email protected] 7 points 6 months ago

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