You are viewing a single thread.
View all comments
51 points

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

permalink
report
reply
37 points

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

permalink
report
parent
reply
12 points

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.)

permalink
report
parent
reply
17 points

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

permalink
report
parent
reply
0 points

Wingdings as well

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 8K

    Monthly active users

  • 1.2K

    Posts

  • 41K

    Comments