98
Finally (lemmy.ml)
submitted 1 month ago* (last edited 1 month ago) by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
top 6 comments
sorted by: hot top controversial new old
[-] litchralee@sh.itjust.works 8 points 1 month ago

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.

[-] MountingSuspicion@reddthat.com 3 points 1 month ago

What was happening in/with that array?

[-] litchralee@sh.itjust.works 1 points 1 month ago

All it did was a lookup into a fairly sparse array. All the kerfuffle about it was unduly placed.

[-] MountingSuspicion@reddthat.com 1 points 1 month ago

That just leaves me with more questions, honestly.

[-] cmgvd3lw@discuss.tchncs.de 4 points 1 month ago

Or a base64 encoded string

[-] admin@sh.itjust.works 2 points 1 month ago* (last edited 1 month ago)

Ctrl + Shift + PgDown or arrow key

this post was submitted on 05 Mar 2025
98 points (98.0% liked)

Programmer Humor

35331 readers
201 users here now

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

Rules:

founded 5 years ago
MODERATORS