I am bad at coding, please help!
How many times you haven’t felt this way?
How many times you’ve looked at your code and had the feeling of the worst programmer in the world?
And finally, how many times you had the feeling if you are a junior like me, that you maybe, just maybe, took a wrong path to programming and you are just “not for it”?
The other day I received a message in my Twitter inbox that literally said this:
“Please help me I want to get into web development, I know basic Html and CSS, but I’m so bad…
I feel like falling into an empty void I’m such a failure”.
This is a desperate cry for many of us but I know I am not alone. Some developers are programming for more than a decade and still feels that they need to improve.
Hi, I am Luc, a front-end developer and this is the weekly article about my journey into web development.
Without further due, let’s get into it:
Start to code.
Learn the fundamentals.
Learn the fundamentals is the best of choices as libraries changes, languages updates and frameworks remain in oblivion.
Don’t just code more, code better!
I saw this reply on one of my recent tweets and I loved it. I wondered how can I improve and asked myself:” how can I code better?”
So, I started to dig. Internet is like a gold mine, the more you dig the more treasure you find, so I put together some of the most important strategies, but without expanding them:
- read other programmer’s code;
- comment your code as less as possible and when you do, write meaningful comments;
- fall in love with code refactoring;
- write documentation for large comments;
- avoid global code (like variables, or loops);
I was surprised to find that some of the practices above I were following without knowing they have been put into the “Best Practice” list code. Again, this is not a technical article so I added the ones I found most important at the time. You may find other great practices that help you on your journey.
And as you grow in knowledge and advancing into the industry, document your journey. It doesn’t have to be by writing articles at the beginning, you could write notes that will eventually in the future convert into articles.
I hope you find this helpful and if you do you can share it with your connections.
Until next week, I wish you a productive time and happy coding.