How to Code Fast !!
Learning how to code is a task in itself. But once you have finished learning how to code the most important thing to learn is how to code faster. so let's discuss five methods that I implement daily.
1. Start to learn new things.
Thanks to the internet, we have a roadmap of everything. But before getting flowed away with a particular way, Know what’s happening new in the market, the concepts behind new technologies, Build up your Curiosity else it may be a possibility that you may not like the field you are currently in after working for a considerable time. For example: to be the most responsible guy in a startup you should know how other things works as well
2. Debug Faster
When you are writing a basic HTML, JavaScript, CSS webpage, most probably it’ll have a bug in there, the best way you may use to resolve the bug is by adding logs to your code and looking out which part of the code broke. This way is very slower and also makes you very complacent for learning new things, There are various other fast and powerful methods and tools to do the same, such as Break-point-debugging, Chrome inspector and many other methods. That’s something you should be looking in after learning the basic method of debugging using logs.
3. Being Comfortable with scary IDEs
IDE (Integrated Development Environment). The more powerful your IDE, the more faster you will be. Once you feel comfortable in any IDE, move on to the next difficult one. I personally set a goal this year to understand NEOVIM very well and make it my primary IDE. For beginners, they can start with VSCode or IntelliJ IDEs
4. Create Scripts for Repetitive Tasks
The purpose of software development was to make repetitive tasks faster not slower, so, if as a developer you have to type certain commands again & again, Sum them into a script and save your time. If you have to give certain commands every time the system starts, Automate that!
Another thing that should always be automated is Deploying your code into the cloud. Example: if you are writing a Front-end/ Back-end Service, you should not be deploying it by hand rather you should just be putting it into your version control system like github and then it should be deployed from there in a very smooth and clean fashion!
5. Maintaining Quality !
This is the most important advice out of all, If you want to become the person that everyone looks up to in your organization you have to be the person who writes extremely solid code. Take few extra minutes to clean up your code and this will gradually become a Habit. Know more about why Polymorphism is taught, understand why interfaces were written, why you can extend classes and why the concept of OOP(Object Oriented Programming) was created. Always try to make your code easily understandable.
can you please make a video on your youtube channel about how do we use oop concept in our code more often and gradually make it our identity..
Nice points