It's true that anyone can learn programming, but it's also true that not anyone can be a programmer. In fact, it's entirely possible to be a talented coder and still be a mismatch for the career. Being a programmer, you should enjoy programming and love to face challenges. There's more to it than the act of coding. Here are important 10 behaviors that's help you to become a successful programmer -
1. Experimental creativity - Despite being heavy on the logic, programming is ultimately a creative art. A new program is like a blank canvas and your paintbrushes are your languages, frameworks, libraries, etc. You’re creating something out of nothing and this is a process that hinges on experimental fearlessness. Dogmatic coders will tell you that there’s “one true way” to write good code, but that’s not true at all. There are many ways to code software and you should be willing to experiment.
2. Be self driven - All good programmers need to be self-driven and there’s no way around this. When you strip away all of the extraneous details, programming is fundamentally repetitive. If you have no personal stake or ambition in the code you write, then you’re just going to be miserable. Your motivation to write code has to come from within. You have to love the act of coding just as much as the potential for walking away with a final product. If you wake up in the morning and you don’t feel a burning desire to work on your project, perhaps programming is not the right outlet for you.
3. Shouldn't have normal work hours - Programming careers fall into one of two types: a) you work for someone else or b) you work for yourself. developers know that the number of hours doesn’t matter. It's not uncommon to hear stories of late nights, long coding sessions, and an overall low quality of life. Unstoppable programmers spend time doing deep work. This is the stuff that challenges you intellectually and requires you to be sharp.
4. Sit for long periods - The nature of programming requires that you sit in front of a computer for extended lengths of time. You may be able to work around it by building a standing desk but the essence is the same. You’re going to spend a lot of time in front of your computer.
5. Love logic problems - Despite being a creative endeavor, programming is more about fixing than it is creating. While other creative outlets do involve a fixing process, programming is unique in that most of the problems that pop up are based on logic-based faults. This fixing process, known properly as debugging, is the heart of programming. Much of the reward in programming comes from fixing bugs. The more complicated the bug, the more rewarding it is when you finally solve it.
6. Should know how to use Google - Everyone use Google, but as programmer, you need to know how to phrase search queries, review what other people have discussed about the topic you're researching, and apply what you learn to the project at hand. When faced with a problem, you should know how to take a moment to research and understand the problem.
7. Analyze the clues found in error messages - Traditional education has taught us that failure is bad. And when learning to code error messages are often associated with failure. Learning how to troubleshoot and debug error messages is an important skill. It's also worth noting that developers are likely to encounter similar error messages time-and-time again. You should focus on learning how to fix the problems and why you need to fix them. Doing so will allow you to fix similar errors at a faster rate in the future.
8. Learn under pressure - Most programmer have been in a situation where a system has gone down or something was broke, and they are responsible for getting it back up. Often, they won’t know exactly how to solve the problem. Learning new things while in a high-stress environment is one of the hardest skills to master, but also one of the most important.
9. Micro decisions matter - When writing programs, it can often feel like there are a billion decisions you need to make, even when you’re just adding a small feature. You need to think about things like naming variables, calling functions, naming CSS properties, using a hash vs. using an array, naming things, and much more. Coming up with good names for things is a big part of programming. It isn’t easy. But it’s important. Programmer should develop a patterns to quick decision for name variables, and sometime they don’t even need to think about it since they always name things the same way.
10. Move Fast and Break Things - Don't let perfect be the enemy of good. Mistakes are often the best learning opportunities. So don’t treat mistakes as failures. Instead, treat them as learnable moments. The key to growing is understanding how to make the same mistake only once.