None of us were perfect when we started. But eventually we learned from our mistakes and improved ourselves.
My question is: What habits and practices have helped you improve your coding skills?
Practice everything your minds think, get informed about news, code with other people interchanging ideas. That's the way I practice. Hope was useful!
The practice of coding is one of teaching the computer to do something. The purpose of programming is to create. The languages, machines, compilers and interpreters are only tools; brushes to painters. But you want to master programming, then you must practice it. If you want to master it, you need to practice against someone. That is usually done at Hackathons & Other Coding Competitions. I practiced taking parts in coding competitions & hackathons. I practiced on sites like codewars, hackerearth, and few more to improve my skills.
Working on a project with lot of constraints : Improved my coding skills 3x. Project had time constraints and I had to constantly improvise. Subsequent projects I worked on became too easy.
Working with someone more experienced : You get new perspectives in solving old problems.
Working on variety of problems: Make a desktop app, dabble in web-frontend, write an api, make a game, make a mobile app, make a chatbot, make an IDE plugin and so on. You never know which skills will help you when..
Write it. Refactor it. Write it from scratch again. Read back your code. Rewrite it. Write it again. Maybe now you finally understand what you're building.
Then write it again, rewrite it, and write it once more :D
I know it sounds excessive, but when you're solving a problem you generally don't even fully understand it the first (few) times around, and once you do fully understand the problem you generally haven't found the best fitting solution on the first few tries either.
Reading other peoples' code.
PRACTICING coding - This is different from pet projects... This means I learn a specific algorithm or data structure or other coding construct and then I continually build it over and over from scratch every night until by the end of the week I can do it in 5-10 mins blindfolded. This is very powerful... Coding can become "muscle memory" just like anything else. This is how I can excel in interviews... Where I am often nervous and can't think straight... That's ok if I don't have to think anymore :)
Filming videos/teaching others/speaking. Just like j stated... Teaching others, due to my extreme desire to not spread incorrect information, forces me to check my own knowledge and also I've learned that being able to verbalize what I know is often as important as what I know and often times I cannot even do it properly... So this helps me with that skill as well.
My strategies are quite simple.
Well, practice😂😂. Try different ideas or try to code everything you imagine.
j
stuff ;)
Gautham
How do you comfort a JavaScript bug? You console it.. Hahaha...... Ok.