Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.16 KB | None | 0 0
  1. Some programmers are better than others. In fact, there’s a statistical distribution: a few are absolutely brilliant, some are good, most are at least competent, some are barely competent and a few are truly dire.
  2.  
  3. That said, the difference between a good programmer and a bad one is not necessarily coding skill. In fact, it is something even more basic; bad habits. And bad habits are hard to break both in life and at work.
  4.  
  5. That said, we developers can often fail into bad habits while slammed with coding that eventually stops us from reaching our full potential. While some habits can help us speed up our work, others (like stuffing my face with peppermint as I type…) can do harm to both our business and personal life.
  6.  
  7. And often we are unaware of our bad habits and all we need is somebody to shed light on them. Like life, programming has no hard and fast rules. Sometimes you wing it to win it.
  8.  
  9. Let’s talk about some bad programming habits you should get rid of as soon as possible.
  10. My Code Is The BEST.
  11.  
  12. Friedrich Nietzsche nailed it when he said.
  13.  
  14. “Whenever I climb I am followed by a dog called ‘Ego’.”
  15.  
  16. The kind of people that all teams need are people who are humble, hungry, and smart: humble being little ego, focusing more on their teammates than on themselves. Hungry, meaning they have a strong work ethic, are determined to get things done, and contribute any way they can. Smart, meaning not intellectually smart but inner personally smart.
  17.  
  18. Don’t criticize other’s code, it could be yours the one in the spotlight. Try to make objective and professional observations instead, but don’t judge. Be humble and try to learn from everyone around you.
  19.  
  20. Always remember, your ego is an obstacle to your work. If you start believing in your greatness, it is the death of your creativity. Your learning stops the day you start believing that there is nothing more to learn.
  21. I Can Fix This In A Jiffy
  22.  
  23. Angela Duckworth once said.
  24.  
  25. “There are no shortcuts to true excellence.”
  26.  
  27. Do yourself a favor. Give yourself permission to get the most out of your life. If you’re spending all your time scrubbing corners with a toothbrush, you’re kind of missing the point. Taking shortcuts doesn’t mean shortcutting the end result.
  28.  
  29. Taking shortcuts is very tempting, everyone has done it. There are actually situations where they are necessary, but overall, they are dangerous, very dangerous and should be avoided. A shortcut which goes wrong may save you a few hours but may cause months of pain and added loss of reputation.
  30.  
  31. Take my advice seriously. I learned the hard way that taking shortcuts and living for free is not really living free.
  32. I Remember Everything. I Don’t Need To Document.
  33.  
  34. Dick Brandon hit it bang on the nail when he observed.
  35.  
  36. “Documentation is like sex; when it’s good, it’s very, very good, and when it’s bad, it’s better than nothing.”
  37.  
  38. Documentation is the castor oil of programming. Managers think it is good for programmers and programmers love to hate it!
  39.  
  40. But that said, great developers, make it an intrinsic part of their daily routine.
  41.  
  42. They realize that, as with any business function, software development teams are always in flux. Programmers might change jobs, move from one department to another, or retire. In the worst-case scenario, illness, injury, or death can sideline team members when you least expect it.
  43.  
  44. Code ages, too. Developers can easily forget how their own code works if they haven’t touched it for a year or more.
  45.  
  46. In any of these scenarios, having access to design documents, API specifications, manual pages, and code comments can mean the difference between a shipping product and a blown deadline.
  47.  
  48. And this attitude is what makes them a valuable asset to the team. You don’t become “irreplaceable” by intentionally not documenting anything. All you end up is becoming an “irreparable” liability to your team.
  49. It Wasn’t Me!
  50.  
  51. Bruce Lee has rightly said.
  52.  
  53. “Mistakes are always forgivable, if one has the courage to admit them”
  54.  
  55. Perhaps this above statement cannot be understated and is one of the most important characteristics of a really great developer.
  56.  
  57. We always have an excuse….. It’s like if we were saying that under normal conditions we would never make a mistake, which honestly is quite hard to believe.
  58.  
  59. Bad developers blame customers for not using the product “correctly.” A bad developer fails to take ownership and responsibility for the entire product and bugs. They make sure everyone knows exactly who was responsible when a bug was created by someone else.
  60.  
  61. And what exactly is achieved by pinning the blame? Nothing at all.
  62.  
  63. Having a healthy attitude where we can you just say something like: “yeah, sorry, now we need to do this to fix this issue, my fault” will help you to build a reputation and to be better considered by your colleagues.
  64.  
  65. The earlier you admit to your mistakes, the more time you would have to learn and rectify the same. Simple as that!!!
  66. Your “DONE” Is Not Done.
  67.  
  68. Rick Lemons rightly observed when he said.
  69.  
  70. “Don’t make the user provide information that the system already knows.”
  71.  
  72. If programming was sex, there would be a lot of unsatisfied computers. You can just not go in, do things halfway through and then fall asleep. One of the concepts that I find you struggling with is the concept of “Done”.
  73.  
  74. Remember that done means: tested and approved by the user as per his requirements. It is not done from your end to be deemed done.
  75.  
  76. A good developer is eager to learn new things. They strive to understand how all the pieces of the architecture work together and what state they are in. They question the design and ideas behind features to solve for a solution. They understand what makes a good user experience.
  77.  
  78. A bad developer, on the other hand, is attached to their favorite technology. They think a single method or process is the “ideal,” and that user experience and situation should never drive decisions. They bring unnecessary dependencies into the project to suit their preferences.
  79.  
  80. A bad developer behavior like this is like a bull in a China shop. Only destruction of time, efforts and reputation prevail in the end.
  81. Last Thoughts.
  82.  
  83. So what is the single word that sums up everything here?
  84.  
  85. The short answer is Attitude.
  86.  
  87. Having a great attitude beats having any number of years’ experience any day.
  88.  
  89. Just work is not enough, you must have the right attitude at work and instead of having the right skill, the right attitude is far more important.
  90.  
  91. Having a good, positive attitude, along with positive thinking, at work will reflect on what you do and make you a more productive employee. This can determine how well you get your projects done and also how others perceive you. A good attitude is infectious. It charges the workplace.
  92.  
  93. As Zig Ziglar has rightly summed up.
  94.  
  95. “Your attitude, not your aptitude, will determine your altitude.”
  96.  
  97. About the author-:
  98.  
  99. Ravi Rajan is a global IT program manager based out of Mumbai, India. He is also an avid blogger, Haiku poetry writer, archaeology enthusiast and history maniac. Connect with Ravi on LinkedIn, Medium andTwitter.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement