You are viewing a single thread.
View all comments View context
0 points

Variable names should be “self defining” meaning you should be able to understand what its doing from the name. The name also shouldn’t be too long. Combining those together makes it difficult to come up with an “elegant” name

permalink
report
parent
reply
1 point

I think they got the joke, they were just joking about how this is common in math :P

permalink
report
parent
reply
0 points

The most atrocious variable names I ever encountered in code were as a research assistant for a math professor doing game theory simulations. Literally unreadable unless you had a copy of his paper on the subject to refer to

permalink
report
parent
reply
1 point

tmp3 = tmp1 + tmp2 ; T.T

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

  • 2K

    Monthly active users

  • 862

    Posts

  • 14K

    Comments