this post was submitted on 12 Aug 2025
418 points (98.2% liked)

Programmer Humor

26065 readers
1295 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
[–] Jankatarch@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Yeah but surely I should have at least thought there is a better way.

When I was making my first python project (a caesar cypher) I did not know about loops in general.

But while I did not know the concept of loops, I did deduce functions from how main() is being used. Big mistake.

Entire thing was one big recursion.

[–] Endmaker@ani.social 10 points 2 weeks ago* (last edited 2 weeks ago)

But while I did not know the concept of loops, I did deduce functions from how main() is being used.

Entire thing was one big recursion.

Bro discovered functional programming.

[–] PhilipTheBucket@piefed.social 6 points 2 weeks ago

Yeah, that sounds about right lol. All my python projects for years were basically writing C in python. It actually took me all the way up until I got to look at the code ChatGPT likes to generate that I learned idiomatic python. My first database project was based on the Unix philosophy, where everything was strings (no ID keys, no normalization), because Unix is good.

The client wasn't happy when they looked at the DB code lmao. Whatever, it worked, they still paid us and I didn't do it again.