DEV Community


Discussion on: What are your personal stories/examples of "naming things"?

tsupinie profile image
Tim Supinie

Speaking of funny but objectively bad variable names. When he was in grad school in meteorology, a friend of mine had an assignment that required some Python coding. I think he'd reached a point in the class where he stopped caring, and coding wasn't his favorite thing anyway. But he named his variables stuff like heyo, heyo1, and some almost-but-not-quite curse words that I'm not sure I should put here. It perfectly fit with his sense of humor, so we thought they were pretty hilarious. I'm not sure the professor who taught the class did, though.

Forem Open with the Forem app