this post was submitted on 26 Jul 2025
873 points (99.0% liked)

Programmer Humor

25311 readers
359 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] funkless_eck@sh.itjust.works 19 points 2 days ago (3 children)
[–] mobotsar@sh.itjust.works 9 points 2 days ago (2 children)

There's nothing wrong with manually breaking a loop.

[–] funkless_eck@sh.itjust.works 7 points 2 days ago (2 children)

There's nothing wrong with eating a banana with a knife and fork, either.

Except living with the shame.

[–] lessthanluigi@lemmy.sdf.org 1 points 1 day ago

Most monkey-esque insult

Well these people probably don't wash their hands so knife fork is the most sanitary way.

[–] grrgyle@slrpnk.net 4 points 1 day ago

An infinite loop used to be such a rank code smell back when I was a junior, specifically because I was a noob and made giant loops like 50 lines long and invariably didn't plan the exit condition right, and then my computer would lock up and I would have to hard power cycle.

But yeah, now it's it's a totally acceptable little pattern imho.

[–] FooBarrington@lemmy.world 23 points 2 days ago (2 children)

You know that's not the Tea code, but the downloader, right?

[–] fmstrat@lemmy.nowsci.com 19 points 2 days ago (1 children)
[–] FooBarrington@lemmy.world 22 points 2 days ago* (last edited 2 days ago)

Sure, it might be, I'm not saying it isn't. All I'm saying is: the screenshot shows the code someone wrote to download the images. It's not part of the Tea codebase.

[–] The_Decryptor@aussie.zone 2 points 2 days ago

They're also not using requests very efficiently, so who knows.