this post was submitted on 05 Mar 2025
60 points (96.9% liked)

Programmer Humor

33817 readers
3 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
60
Finally (lemmy.ml)
submitted 4 weeks ago* (last edited 4 weeks ago) by [email protected] to c/[email protected]
 
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 3 weeks ago (1 children)

I once had the mispleasure to face a Bash script that was 35 lines tall but over 800 columns wide. The bulk of it was a two-dimensional array -- or rather, a behemoth that behaved like an array of arrays -- with way, way too many fields.

If that wasn't bad enough, my code review to essentially rotate the table 90 degrees was rejected because -- and I kid you not -- the change was unreviewable in any of our tools and thus deemed too risky to change. /facepalm

The gall of some people.

[–] [email protected] 1 points 3 weeks ago

What was happening in/with that array?

[–] [email protected] 2 points 3 weeks ago

Or a base64 encoded string