392
you are viewing a single comment's thread
view the rest of the comments
[-] Jankatarch@lemmy.world 4 points 1 day ago* (last edited 1 day ago)

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 1 day ago* (last edited 1 day 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 1 day 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.

this post was submitted on 12 Aug 2025
392 points (100.0% liked)

Programmer Humor

25681 readers
1598 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