Tuesday, 29 October 2013

Common excuses a Developer makes when a feature doesn't work [And how to avoid them in the future]

I always feel that Developers should have an attitude for development, which I have detailed in the blog post Attitudes of a Great Software Developer.  But generally when it comes to issues, a lot of developers make excuses.  As long they are genuine, it is not a matter of concern however if it is really an Excuse, then it is a cause for concern for the entire team.  I am guilty of a few of those myself however when I saw the big picture, I rectified those and understood why people make those excuses and how we can avoid them in the future.  I am detailing a few in my below post.


1.  It works fine in my machine

Come on guys, this is the number one excuse that developers give.  We often have a feeling that testers or the customers have a magical computer which injects bugs into our code.  But that is far from true.

The only way to avoid this excuse is to be aware of the environments that are used for development, testing and production.  By being aware of those, the first thing you would probably ask is, what sort of configuration/environment it is and get more details about the issue and check if it is really a valid bug.  Another way to avoid this is to have a Continuous Integration environment, where with each and every code check-in, code is compiled and deployed in some test machines.
Image courtesy: cheatcc.com


2.  Do you have the latest build?

This is another excuse that developers give.  Not having the latest build to test or testing a wrong build can sometimes be the reason for such excuses.  However it may not be the case always.

The only way to avoid this is to have a process in place that will verify if the build that the testers are testing is a valid one and is the latest.  One way of doing this is to have a continuous integration process wherein code gets automatically built and deployed on test machines automatically.  That way the process makes sure that the build is the latest build.  Another way to ensure this is to verify the build numbers that is currently being tested or deployed, if this matches with the devs, then you can be sure that this is not the issue.

3.  Must be a configuration issue.

If you told me this, I would reply "Oh yeah.  May be it is a configuration issue.  So can you point out what exact configuration changes that I need to do make it work?" :) and it's likely that you also would ask a similar question if faced with this situation.  So as you can see, people need specific answers not generic ones. 

Best way to avoid this to have all the configuration related parameters defined in a separate configuration file, and have dynamic values written in some log file so that it can be referred in case of any confusions.  By having it in a documented format at runtime, chances of errors are minimal and even if the issue is due to a configuration issue, we can easily find that out.

4.  Please raise a defect, I will check it

From my point of view, raising a defect without even confirming whether it is a defect or not, sounds trouble to me.  The trouble can be either in the process that is being followed or the coordination between the dev and the testers.  Typically Dev and testers should join hands in case testers are not able to really drill it down if it is a defect or not.

One way to avoid this is to have a good team morale and collaboration between the developers and the testers.  In that way, they will discuss and try to figure out whether it is actually a defect.

5.  Try restarting your machine :P

This is one of the killer excuses that the Developers make.  I have also done this.  Yeah, it does happen with Microsoft related technologies for some reason (I used .net predominantly in my previous projects) and very rare occasions this excellent and well thought out, scientifically proven method works with Windows :P, but most of the times it is false.

One way to avoid this to be again aware of the environment and the functionality and the architecture and the code design.  By being aware we can identify whether it is actually an issue or not.

6.  I am not sure why it isn't working.  Let me check it

I hate this excuse when it comes from a developer.  If as a developer, you are not sure as to why a particular thing is not working, then either you have not understood the functionality correctly or you are not aware of the code design

One way to avoid this to have a mental map of the modules and once the issue is told, the dev needs to analyze it immediately and find out where the likely problem would be.  Not being sure of where the problem might occur is a cause for concern either due to badly designed code, poor code or lack of understanding of the functionality or the modules.

7.  It worked fine just 5 minutes back

Wow.  How sweet.  I think you have put in a time bomb in there that made it not to work after 5 minutes.

One way to avoid this is to be aware of the fact that the code doesn't change with time unless it is time specific code.  So any other functionality will not have such variable behaviors.

8.  I don't think there's fault with my code
This is another answer I generally wouldn't give if I am faced with the situation.  I believe there is nothing called my code especially in a team environment.  I would rather say maybe something is wrong with this so and so module.  This is trying to find a person to blame and this is definitely not in the best interest of the team morale.
One way to avoid this is to embrace team culture and also rotate the developers among different modules so that no one takes ownership of a particular module and hence everyone knows about the entire code base.
What other excuses do developers make and how to avoid them in the future?  Please shoot out your comments below.  If you found this post useful, please share it with your circles.  You can stay updated with the latest blog post by simply submitting your email id to the right in the section "Get Updates by Email"

Related posts

Free E-Book - Programmer's Motivation for Beginners

About the Author
 
Rajaraman Raghuraman has 8+ years of experience in the Information Technology industry focusing on Product Development, R&D, Test Data Management and Automation Testing.  He has architected a TDM product from scratch and currently leads the TDM Product Development team in an IT MNC.  He is passionate about Agile Methodologies and is a huge fan of Product Development, Agile Development and Agile Testing.  He blogs at  AgileDevTest Blog.  He is also an author of a free Ebook "Programmer's Motivation for Beginners".  Connect with him on Google+

8 comments:

  1. Hey, great blog, but I don’t understand how to add your site in my reader. Can you Help me please?
    software developer eastern europe

    ReplyDelete

  2. parking permmits
    text message to tenants
    Cloud based parking management
    software for condominiums
    Explore the Web Based Software of Web Parking Software:
    For those people who are in search for the best web based software that are creatively developed, designed and intended for solving parking problems, you don’t need to look any further since Web Parking Software is the ideal choice that you should take into account. In addition to this, the company strives hard and work together to make their parking related services quickly accessible from the Internet. Web Parking Software has a professional, dependable and competent management team with in-depth expertise in the field of parking management, business management and IT computer software.
    The well trained and fully skilled engineers of Web Parking Software spent almost two years with their parking management team to create their first parking management and permit system. Apart from this, the company took daily procedures on snail mail, fax, phone and paper for almost a decade and at the same time applied a cloud based internet delivery system to enhance the reliability, organization and method. On the other hand, the web based software of Web Parking Software has an excellent deal of programming complex code and man hours.
    The entire interface was built to look simple and with a few mouse clicks, you will have a full control of your own building. They also include other non parking components that have the ability to facilitate management that include CRM components, email blasts and a lot more. Moreover, Web Parking Software together with their sister company Callbeforetow are part of CBT software that is fully operated by CBT Inc. The company wants to take the dissatisfaction out of parking management for townhouses, condominiums, home owners associations, apartments and other parking areas. This is one of the reasons why Web Parking Software has reinvented how the parking management should be done.
    The web based software of Web Parking Software was built for commercial property, board members, apartment managers, property managers and anyone involved in overseeing a managed parking environment. With the existence and help of Web Parking Software, you can be sure that all your parking problems will be completely solved by simply using the web based parking software of Web Parking Software. The web based parking software of Web Parking Software is a great system that will allow you to have a full control over your buildings whether onsite, by using your phone and even at your office. Most people who already tried and avail the services of Web Parking Software are all astounded and satisfied with the quality of their web based parking software.
    Once you decided to use their service, you are assured that you can able to eliminate about 75 percent of your paper work. Web Parking Software will guarantee their valued clients that they will never be disappointed with their services and most especially their web based parking software. If you want to learn and know more about the web based parking software of Web Parking Software, just feel free to visit their website at http://webparkingsoftware.com and see it for yourself.

    ReplyDelete
  3. Are you a web developer? Then give a helping hand to your young ones. Let's grow the world knowledge. Head over to Thinkle Developers and help a seeker please.

    ReplyDelete
  4. Try the Programmer Excuse Generator for some more great ideas: Programmer Excuse Generator

    ReplyDelete
  5. Thanks for giving great kind of information. So useful and practical for me. Thanks for your excellent blog, nice work keep it up thanks for sharing the knowledge.

    AWS training in chennai | AWS training in annanagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery

    ReplyDelete
  6. Found this content great and sharable with other resources. If you are willing to participate and win grand lottery prizes in KBC, visit https://kbcofficialwinner.com website to get detailed information.

    ReplyDelete