3 Excellent Tips to Code Like a Pro
Is it possible to write excellent code? Every programme has a bug. It has to be because of its nature. So how to get over this situation?
In this story, we are gonna talk about how to write code like excellent code.
Get Breaks
First of all, you have to be patient. Writing a programme can be difficult. Also frustrating. I usually get breaks to relax. Sometimes you code like 8 - 10 hours. Your eyes, brain, and hands are tiring every minute.
Getting some breaks will repair all of them. Also, your code becomes better.
Use tools
Use every possible tool to control, test, and optimize your code. I always use Postman to test APIs. Also, I use xdebugger to debug my functions on PHP. There are lots of bugs and We cannot find them easily.
I remember that I was struggling with formData in Js. Nearly 10 hours later, I was giving up. I got a break, took a cigarette. Then I tried last time and it worked. All the time I was looking at the wrong side.
It's just an example. I have many of them.
Ask someone else
We have a viewpoint. No matter how hard we try, it is very difficult to change this. When I was stuck in the code block I asked one of my friends.
Early in my career, I was asking on stack overflow, Reddit blogs, and many other places. Because my friends also did not know. But now we all experienced. So I can ask, if you have a question, count me as a friend.
I'm sure these 3 tips will make you a pro in the time. Every developer has a style to code. These are my secrets. You can peacefully take it.
Let me know what you think about programming in the comments. Don't forget I'm here to answer.
Have a wonderful day!






