Fear of writing wrong code

by moodyharsh 2016-09-14
fear-of-writing-wrong-code Programming is very much like being a lawyer but with lesser respect, but hopefully it will improve over time. At the present moment there are very few purely Software Companies ( excluding Service Companies). For a majority, Software runs 5–20% of the Business.
To be confident in Basic Programming, you will need to know the following concepts.
  1. Variables and Scope
  2. Control Flow
  3. Function and Object Decomposition
  4. Design Patterns
  5. Databases and Data Modelling
  6. Libraries and APIs
  7. Debugging
  8. Deployment and Administration
  9. MVC
  10. Automated Testing

For Advanced Programming you will need to understand,

  1. Profiling and Scaling
  2. Architecture Patterns
  3. Workflow Patterns
  4. Enterprise Patterns
  5. Components
  6. Computer Science
  7. Advanced Maths
  8. Refactoring
  9. Reverse Engineering
  10. Integrated Testing
  11. Hardware, Networking and Operating System concepts.

How do you overcome the fear of wrong code and become more confident ?

In all probability you went to a college that sucked. The situation is fairly dire with misdirection everywhere.
The gazillion framework authors, language designers who have thought of the problem are here to do the thinking for you and tell you to use their stuff. But their incentives are skewed. Yes their websites dazzle with videos, their demos and conferences are a weeping glory but learning a framework and idiosyncrasies of one language will never help to overcome the fear.
Here are time and tested methods,

  1. Trial and Error
  2. Find a mentor and work on a project with him / her
  3. Build and Distribute a Game or 10 Apps and maintain it on your own
  4. Join a startup as an intern which does code reviews
  5. Do a course completely which stresses the basics not just the frameworks
  6. Work for free at a Non-Profit while you learn

It should not take more than 3 months to do this, although trial and error will take longer than that
If you want to become more knowledgeable, reading and practicing is the only way. It will take time. The career has its ups and downs, but you will not get there in 21 days.
I am happy to mentor and do code reviews. Teaching is something I enjoy. Feel free to get in touch with me if you are interested.