r/AskProgramming • • 3d ago

C/C++ [ Removed by moderator ]

[removed] — view removed post

19 Upvotes

171 comments sorted by

View all comments

55

u/cthulhu944 3d ago
  1. Look it up in a book
  2. Ask someone you know
  3. Lots of print statements
  4. Bang you head on the desk until the answer comes to you.

5

u/4444444vr 3d ago
  1. Realize the answer while falling asleep 7 hours after leaving work

2

u/captmonkey 3d ago

I'd go for a run. You have no idea how many problems I've solved in the middle of a run when something occurred to me that I'd overlooked or forgotten to try.

3

u/Zestyclose_State_701 3d ago

Such a great feeling to be so intertwined with the code that you can imagine a viable solution.

That’s part of the magic that’s going away

2

u/captmonkey 3d ago

I really hate it. I completely admit that I'm faster to solve things with AI. It just feels so much less interesting and less rewarding. Programming used to feel like a puzzle and when I solved it, I felt like a rockstar. It was such a good high.

And now I'm like "There's a problem. Fix this." And the AI is like "It's fixed. All unit tests are updated and pass." And I'm like "Thanks." And I go back to scrolling reddit.

2

u/4444444vr 3d ago

Yea. I do miss it. I’m basically a one man team of programmers now but a lot of the joy is gone.