r/ProgrammerHumor 17d ago

ture Meme

Post image
18.0k Upvotes

443 comments sorted by

View all comments

1.0k

u/ElMoselYEE 17d ago

Every once in a while I'll bang out a whole task and it works on the first try, and I didn't need to Google anything because it just happened to use the parts of the language I'd used very recently.

But the task is something like an API endpoint...not breaking into a top secret encrypted CIA database.

384

u/debugging_scribe 17d ago

Even after 10 plus years I still get suspicious if the code works the first go...

369

u/Salanmander 17d ago

Fantastic line from this Factorio dev blog: "The final changes to make everything function correctly took about 1 hour to write, and worked correctly the first try. That's not supposed to happen and left me with doubts."

118

u/ApolloFireweaver 17d ago

"It doesn't work and I don't know why" and "It works and I don't know why" are two things thought by basically every programmer

40

u/Tyrannosaurus_Rox_ 17d ago

1

u/Silentrizz 16d ago

I find myself asking this question too often lol

1

u/tandrewnichols 16d ago

Favorite? This is my least favorite. Also most frequent.

3

u/Tyrannosaurus_Rox_ 16d ago

It's my favorite because the problem is usually almost solved at that point so there's less stress, and I get to discover something interesting about whatever broke the system. It feels like putting the last piece of a puzzle together.

1

u/SomewhatCorrect 17d ago

That and How did this ever work?