1125
you are viewing a single comment's thread
view the rest of the comments
[-] Kazumara@discuss.tchncs.de 2 points 1 month ago

With the short variable you probably also get shadowing. That's super fun in a new code base.

Or another favourite of mine: The first time I had to edit a perl script at work someone had used a scalar and a hash with the same name. Took me a while to realize that scalars, arrays, and hashes have separate namespaces, and the two things with seemingly the same name were unrelated.

this post was submitted on 13 Nov 2025
1125 points (99.1% liked)

Programmer Humor

28057 readers
840 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 2 years ago
MODERATORS