Hacks for being a Better Programmer
2 min read
I have been coding for a while now, and some of my best programming tips to all other developers out there:
Coding is the last step of the process
For solving problems: Whiteboard > Keyboard
Coding without planning = Stress
You look smarter by being clear not clever.
Long-term consistency > Short-term intensity
Solution first. Optimization later.
Lot of programming is problem-solving
Think of multiple solutions, before committing to one.
You learn by building projects not taking courses.
Always prefer simplicity. Simple solutions are easier to code.
Errors are inevitable in coding. They just tell you what not to do.
Failure is cheap in programming. Learn by doing.
Lot of programming is figuring out.
Pair programming will teach you a lot more than coding.
Take walks when stuck with debugging.
Make asking for feedback on your code a habit.
You lose 0 credibilities by asking for help.
Time spent on understanding the problem is time well spent.
When stuck on the problem. Be curious, not frustrated.
Think of possible scenarios and edge cases before solving.
Don’t stress about programming syntax. Understand concepts.
Learn to use a good debugger. It pays off.
Know the keyboard shortcuts of your text editor early.
Your code is as clear as you think.
You will spend 2x much time on debugging than coding.
Good googling skills are valuable.
Read other people’s code for inspiration.
Join developer communities to learn with other programmers.
If you find this helpful, don't forget to follow me. Like and share this post.
Coding is for everybody and everyone should master it. Help other developers to get better at it.