DEV Community

Anson Low Z.F
Anson Low Z.F

Posted on

The Saddest Thing I Faced In Coding

No matter how long time I learned,
No matter how hard I learned,
No matter what I had learned.

I feel like not moving forward~
Like I'm stuck in beginner level for a long time~
I still don't know how to code well.

  • I code slow,
  • Research takes me at least half-day or a few days,
  • Don't know how to write the code without referencing the doc,
  • Some bugs like forever don't know how to settle, end up delete the entire project and start over again,
  • Not sure my code is right or not, it's seen working but the UI seen like something went wrong,

Are you facing the same situation?
What obstacle are you facing?

"Btw, I'm still proud of myself for starting my journey as a self-taught developer."

Top comments (28)

Collapse
 
cullophid profile image
Andreas Møller

This ałl sounds pretty normal to be honest. If you do the same programming tasks over and over again you will become less dependant on using docs, but it takes time.

Testing your application is similarly a skill you develop over time, when you have fixed enough bugs, you will develop a feeling for what and how to test your apps.

The things you are describing are the same for every programmer, but it does get better :)

Collapse
 
ansonlowzf profile image
Anson Low Z.F

I've been doing this for 20 months 🤣
I think still not enough, I glad to keep going 😎

Collapse
 
cullophid profile image
Andreas Møller

I have been doing it for 17 years. I still have to Google things all the time, I still regularly write bugs, and occasionally I will spend an enormous amount of time debugging a very simple defect :)

It's not just that you will get better, you also realize that everyone has the same problems.

Collapse
 
mlimonczenko profile image
Miranda

I think I will interpret this question a little differently. The saddest experiences I have had are when I worked for an agency with a deadline too tight and a customer who is disappointed and without the resources to change the outcome.

One of the saddest coding days I had was going to work on a Monday to see over 200 freshly-logged bugs by the customer (mind you; this is mostly CSS bugs, so 200 mostly-arbitrary complaints about how it looks after the design was supposed to be finalized). I worked through them one at a time, with again a deadline too tight to actually make a difference.

Perhaps one of my saddest days!

Collapse
 
ansonlowzf profile image
Anson Low Z.F

😲 I going to start a freelance web design agency soon. What if I face this kind of customer? After reading your comment, at least I can make myself ready for this type of customer. Thanks for sharing this with me.

Collapse
 
mlimonczenko profile image
Miranda • Edited

Hi Anson! I think the most valuable skill is in knowing your worth and vetting your client -- as well as being financially secure enough to turn down a job, even if it is well paying. Sometimes the emotional cost is too great.

In this case at my agency, we were well aware that we were working with a nightmare client, but we felt financially pressured to take the job.

Thread Thread
 
ansonlowzf profile image
Anson Low Z.F

Great advice, at least I learned before I start the business. Thank you for sharing some tips with me

Collapse
 
stereoplegic profile image
Mike Bybee

We all go through these things. Even those around you who seem to be picking it up so much faster will eventually hit a wall and panic will grip them.

Almost two decades later, I still go through it. And don't worry so much about coding slowly. Here's something not nearly enough developers learn soon enough (and not nearly enough employers teach): If you're spending more than 25-35% of your time coding (maybe more for short periods if you're in some super "flow" state), you're probably not writing very good code.

Collapse
 
ansonlowzf profile image
Anson Low Z.F

After reading your comment, I think my situation is, in fact, normal in coding. I come from a sales background, that why I feel like not moving forward.

Collapse
 
stereoplegic profile image
Mike Bybee

Personally, I've always hated sales (which really sucks when I'm responsible for them running my own company), and after learning the nature of these struggles felt much more at ease in front of a code editor than I ever will trying to sell something.

Collapse
 
stereoplegic profile image
Mike Bybee • Edited

Edit: Skimmed your post too fast at first and my eyes skipped to the question at the end, but I'll leave this comment anyway, because it's important to know that even when you know and do the right thing, things don't always work out in your favor.

Got fired and replaced with unpaid interns because I stepped on my bosses' toes after they ignored testing to the point of a mission critical bug which could have killed astronauts.

But I got my way and the team I demanded to get testing in place (and was ready to quit then and there if I didn't, rather than face a Congressional inquiry into what could have been an international incident involving NASA loads on Russian Soyuz rockets headed to/from the ISS).

...I just got fired after the testing was in place and they could find an excuse without it being too obvious.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

About your problems, I recommend things like clean code, pure functions, OOP, or write tests. Just do small things well. Automate your works properly first.

Another thing is, instead of running your code; debug your code and add breakpoints, instead. Not sure if this can always be done in JavaScript / UI code.

I don't think it even matters that you reference the docs or not.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

My guess: You're focussing too much on a top-down learning strategy, but have reached a point where you should take some time and switch to more of a bottom-up aproach at least for a while.

Collapse
 
ansonlowzf profile image
Anson Low Z.F

I guess the bottom-up approach you refer to is to start building more things?

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

More like figuring out the details before trying to build stuff; knowing how the language runs and how certain syntax features translate to behavior depending on their input. This is what ultimately gives one the ability to reason about code without having to run it, which is essential both for debugging and preventing bugs before they even happen.

Thread Thread
 
ansonlowzf profile image
Anson Low Z.F

Thanks for your advice, appreciated.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
ansonlowzf profile image
Anson Low Z.F

Wow, thank you for telling me this. This is helpful and positive. I think what I face now is in fact a normal as a coder.

What you said is right, I suddenly think that those Pro piano players need to practice 10 years behind the scene before they host their piano concert.

Good tips 👍

Collapse
 
yashguptaz profile image
Yash

It always feels I know so little, and others know everything..
I can relate to everything, and I feel a lot of confusion as to what should I do.

Collapse
 
ansonlowzf profile image
Anson Low Z.F

Especially after see some YouTuber code. Why they so pro, and why I can't be like them. After I watch a video by brad travesy, I just know that they actually spend a lot of times researching, organizing, and coding behind the scene before they record the video.

Collapse
 
yashguptaz profile image
Yash

I am at a point where I do see a few YouTubers doing some practices that are inefficient (/ not recommended by React Team) and ignoring topic like a11y. So I just read the docs and ask in issues or do a frontend masters or egghead course.

Collapse
 
omerkling profile image
Owen Merkling

10 years into my career, this is still how it is for me.

Another way to think about it, if you are always doing the same thing so much that you don't ever need to research or look at the docs, then you can be replaced by a framework or script. Celebrate solving new problems!

(although I am a bit jealous of people who seem to have the CSS spec memorized).

Collapse
 
duck5 profile image
Mr.Duckie

Can I mark "All of the above."? Been in web development in some shape or form for almost a decade, and feel like this everyday.

Collapse
 
ansonlowzf profile image
Anson Low Z.F

Haha, We have to live with those "All of the above" as a coder. I see I see, I still wondering why I feel like not improving after 20 months of code.