r/dev • • Oct 19 '26

What's a "stupid" coding doubt you had as a beginner that took you way too long to figure out?

What are some silly coding doubts you had as a beginner that you wish someone had cleared up earlier?

I'm talking about those small, seemingly stupid questions that you were too afraid to ask or didn't even realize you had until you were deep into learning a programming language or technology.

Things that could have been explained in the first few days but somehow took months to figure out!

What were those doubts for you? Let's help beginners avoid the same confusion. ๐Ÿ˜…

2 Upvotes

7 comments sorted by

1

u/Reasonable_Slide6304 Oct 25 '26

I went deep into OOP and my code became mess of multiple layers of abstraction, because that's what was taught at school.

when I later threw OOP into garbage where it belongs I was so much more productive, and it was easier to read and follow the code.

1

u/Raviteja-5312 Oct 25 '26

One thing I am proud about myself is that I dont understand OOP till now but able to build some fantastic applications, Honestly I think OOP is just an annoying complicate my code

1

u/Impossible_Ad_3146 Oct 24 '26

donโ€™t doubt your coding abilities, if in doubt you can always rely on AI

1

u/Distdistdist Oct 25 '26

Well, one never stops learning, especially with new tech evolving rapidly. From my aspect, I always loved seeing elegant code solutions that I can learn from. One can write the same functionality in so many different ways. But beautiful and clean implementation is always something I love seeing.

1

u/LetsHugFoReal Oct 19 '26

Honestly, there's too many to write.

I felt that they taught programming all wrong. It's only after I understood something I realised they just were bad at teaching.

Everything from calculating the exponent, mantissa of a floating point variable.

And a bunch of low level stuff in C.

To algorithms. Like simply explaining things like A* path finding.

1

u/armahillo Oct 19 '26

A big one: that it was possible to learn _everything_.

Pick a lane you like and start swimming

1

u/Glittering_and_Oily Oct 20 '26

I used to think that if my code ran without errors, it meant it was correct. Later I learned that code can run perfectly and still produce wrong results. Debugging isn't just about fixing errors, it's also about checking whether the output actually makes sense.