How to minimize workplace blunders !

Commit and run is a crime

Syntax and logical error can exist in our code even for the best of us. Just skimming the code is not enough, testing is must.

Do a Rehearsal before the demo

Sometimes, our demo session turns into a fiasco as we didn’t prepare the test-cases we need to convey or since we didn’t test. It becomes a real shame in front of importance audience (like CEO …) and when you are already in nervous state.

Peer review

Continuously checking our code can make us numb, and we sometimes cannot figure our obvious issues. So peer reviewing your work can identify possible issues and save you from future troubles. It just takes few minutes to do this, so why should we leave it !

Don’t rely on others’ work

Though micro management is not recommendable in many cases, but testing your colleagues work, that is part of your flow, is important.

Though your colleague may be sincere in his work, but it still can have errors, so test the full flow properly before deploying.

Don’t forget the base case

Sometimes, we get lost in the complexity of our code so much that we even forget or neglect the base case. Then, the production reveals it with much humiliation, so never underestimate the base case.

If it can break, it will;

If you smell that anything can break, it is the right time to fix it before going into production. This includes possible issues and edge cases that we think will rarely occur, but from business and CX (customer-experience) perspective, they are still important, as they can negatively effect the product image in this age of social media proliferation.

This article originally appeared on aboutahsan.com

Moyed Ansari

Manager Engineering @ DigitalOcean | Building Scalable Solutions | AI Enthusiast

5 年

Excellent article !? Make sure you have clarity what your tasks are. It is always better to ask before dig into your tasks. This dissipates all sort of ambiguities.??

Ahsan Khan

From Data to Insights | SAP Visionary | Pioneering the Digital Landscape

5 年

To avoiding the bugs, better to do unit testing of every part of your code

要查看或添加评论,请登录

Ahsan Abdul Jabbar的更多文章

  • Tools vs long-term-thinking !

    Tools vs long-term-thinking !

    Most software engineers are tool-based developers these days. Few are the ones who learn something that can benefit in…

    5 条评论
  • For the sake of value ... !

    For the sake of value ... !

    I remember a short story that my math professor in grade-11 once shared with us, that I usually recall and it really…

    1 条评论

社区洞察

其他会员也浏览了