Masidur Rahaman’s Post

Everyone wants to write clean code No one wants to debug messy code. But here’s the truth 👇 You don’t become a better developer by writing perfect code. You become better by fixing broken code. Most of my learning happened when: > Something didn’t work > Console showed weird errors > I had no idea why it was failing Debugging teaches you: How things actually work How to think logically How to stay calm when nothing works 😅 If you’re stuck debugging today you’re not failing, you’re leveling up. What was the last error that taught you something valuable? 👇 Sharing my webdev learning journey in public, Follow for more web dev insights. #WebDevelopment #JavaScript #Debugging #LearningInPublic #BuildInPublic

  • No alternative text description for this image

True. When I was an intern developer, I had no idea what was happening in the code. Once I started debugging, it became interesting, like a detective hunting down the real culprits.

Writing code is easy. Fixing it is the skill. Masidur Rahaman

Walks are magical. Not sure why. When I'm stuck, I stand up and go to my balcony, stare at my plants, and think about nothing work-related. 10 mins later, I sit down and solve the problem like it was never an issue. I don't know how this is working, but it works.

This is so true. Recently, I got stuck on one problem and spent a lot of time on it late at night. The next morning, I realized what was wrong—it was a silly mistake. That experience taught me the importance of taking a break at 30%, not when we’re already down to 4–5% 😅

Last time, I tried to loop through LocalStorage values as an array, but the order was completely random. This taught me that LocalStorage is actually an unordered key-value store. The order of keys retrieved by localStorage.key(index) depends on the browser's implementation and is not guaranteed to match the order in which the data was saved.

Fixing a bug isn't that hard when u know the files and know how should the system work. U can just pinpoint where's the bug originating from. Speaking from experience not blabbering shit. I am building U.T.I.M and the solo dev behind it so from that base I'm speaking.

After 6 hours then Ask chatgbt what the problem is? And it will give you that you missed the comma ,

Debugging gives you a taste of your own medicine 😁

Blue one. *It is interesting*

This really resonates with me. Debugging has been my greatest teacher in development as well! Those moments of confusion often lead to the most valuable insights. It's all part of the journey, isn’t it?

See more comments

To view or add a comment, sign in

Explore content categories