870
you are viewing a single comment's thread
view the rest of the comments
[-] fmstrat@lemmy.nowsci.com 69 points 1 week ago
[-] funkless_eck@sh.itjust.works 26 points 1 week ago
[-] FooBarrington@lemmy.world 24 points 1 week ago

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

[-] fmstrat@lemmy.nowsci.com 21 points 1 week ago
[-] FooBarrington@lemmy.world 22 points 1 week ago* (last edited 1 week 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 3 points 1 week ago

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

[-] mobotsar@sh.itjust.works 9 points 1 week ago

There's nothing wrong with manually breaking a loop.

[-] funkless_eck@sh.itjust.works 7 points 1 week ago

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

Except living with the shame.

[-] Bane_Killgrind@lemmy.dbzer0.com 3 points 1 week ago

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

[-] lessthanluigi@lemmy.sdf.org 1 points 1 week ago

Most monkey-esque insult

[-] grrgyle@slrpnk.net 5 points 1 week 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.

[-] Strawberry 2 points 1 week ago
this post was submitted on 26 Jul 2025
870 points (100.0% liked)

Programmer Humor

25457 readers
930 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