{"id":966,"date":"2015-09-21T06:41:27","date_gmt":"2015-09-21T10:41:27","guid":{"rendered":"https:\/\/cindypotvin.com\/?p=966"},"modified":"2016-01-06T20:51:04","modified_gmt":"2016-01-07T01:51:04","slug":"6-ways-to-code-faster-with-less-bugs","status":"publish","type":"post","link":"https:\/\/cindypotvin.com\/6-ways-to-code-faster-with-less-bugs\/","title":{"rendered":"6 ways to code faster and with fewer bugs"},"content":{"rendered":"
It can take ages to code what looks like a simple feature at first glance. Times flows while you have the impression that you made no measurable progress on that new feature and that everything is hopeless. <\/p>\n
Outsiders will tell you that you’re only adding a checkbox or a text field and wiring stuff together, so it should not take this long. Why are you coding so slowly?<\/p>\n
Thinking about the time it took to create a new feature as the number of lines of code you need to produce is a mistake, because the part that takes the most time is not typing code in the computer. Your keyboard shortcut skills are not going to help you with all the other things you must do to create the feature like:<\/p>\n
Indeed, I’m not going to give you tips to type code faster or technical shortcuts since those can be found in any technical book about your language or framework of choice. Likewise, there are many great posts about keywords shortcuts and tools for your IDE of choice. <\/p>\n
So here are some ways to optimize all the other stuff so you can deliver faster: <\/p>\n
All those techniques will also help you with writing code that has fewer bugs since you’ll know where you are going. Coding more deliberately will help you make the best of your coding time and deliver better features.
\n