Monday, December 31, 2012

13 Habits to Becoming an Excellent Software Developer in 2013

We are what we repeatedly do. Excellence, then, is not an act, but a habit. Aristotle

Excellence is a habit something that we repeatedly do. You can make excellence part of your daily routine as well, particularly if you develop and maintain software for a living.

I'm continually surprised by how many "experienced" developers are actually not excellent developers. However, it does not have to be that way. By paying attention to a few small details, consistently and repeatedly, even the most inexperienced developer can execute and deliver flawlessly.

With the upcoming New Year, I've put together my thoughts on thirteen (13) practices that can quickly turn anyone into a great developer. These practices apply to most development environments, languages and configurations. I make few assumptions about the tools you are using to develop software. I do assume the following:

  • You are using source control.
  • You have a fully-functioning local environment.
  • You have a production-like test environment.

Test everything

I should probably rename this to "run everything". I mean running your code, and looking at your application to make sure there are no obvious errors. Your program compiles cleanly. There are no spelling mistakes, no typos, nothing obvious. Run through the primary path, that most of your users will encounter, as well as any alternate paths, error paths and the the like. Try to run through all branches in your code to make sure they work.

In addition to your application code and visible screens, also run any scripts, jobs and utility tasks that are part of your system. If you're scheduling an offline task, run it manually to make sure it works before scheduling it.

Even if you're using automated tests, take a look at your application as a user would, and make sure that there are no obvious errors.

Look at your outputs

When your running any part of your application, there is a lot of output generated that can provide you with valuable information about how your application is running.

When running your application, follow the logs and look at what is happening. Are the outputs the ones you expect? Is there anything extra there? Is anything missing?

When running any scripts, is the output what you expect? Did the script error out or end cleanly? Did the script produce the results and changes you were expecting?

If you have automated tests, did they finish cleanly? Did every test run as expected? Did the tests run fast enough?

Review diffs before committing

Look over each file that's changed and each line that's changed before making a commit, even if it's a local commit. Know exactly what changes you are making to the code base at any point. Too many times, I've run into the case where files were "accidentally" committed to the code base. These types of unexpected changes can be stopped with this one simple practice.

If you're working in very small increments on thin slices of functionality, the number of changes will be small and the review will be quick.

Review the functionality with someone

When you're done working on your feature, change or fix, bring someone over and show them what you've done. Talk them through what the system does, and show them how the different scenarios work. Even better, let them use the system and point out any issues or errors.

Don't get frustrated when the reviewers start asking for changes. No matter how well your team defined the feature, they don't have perfect vision into the future. By seeing the feature in action, your team now has more information about how to make it work even better. Change is an integral part of software development. Latch on to it and run with it, as a way to create some truly amazing products.

Review the implementation with someone

After you've got the feature working, and your implementation is complete, review what you've done with other developers. This could be done real-time while pairing, or after the fact with a code review or a pull-request.

Be open minded about what others have to say. Leverage any feedback as collective experience to produce the best code possible. Use this as a chance to learn new techniques, and to hear about new libraries. Remember that they're commenting on your code and the implementation, and not on you as a developer.

Work in small increments, stay stable and commit often

It is much easier to work on a small function or a small screen, than a complex business process or a series of screens. Break your functionality down into small functions, and build them out incrementally. Evolve your system to the desired fully functional system that everyone dreams of.

In addition to focus, you'll also get the motivation that comes from a rapid succession of wins as each function is created. You'll also be able to get to stability quickly, and change direction quickly.

When a teammate wants to see what you're working on, you should never be more than a few minutes from showing them. Your code changes should be small enough to thrown away and recreate as needed.

Once your small changes work, commit them to your repository. This allows you to experiment, while having a safe place to come back to. This also allows you to change gears as needed. By being incremental and focused, your system is always in some working state that can evolve towards full functionality.

Keep separate features on separate branches

For each feature or function that you are building, create a separate branch in your code repository. Don't mix features together. Let your features evolve independently. You never know what kind of feedback you may get, and which features will need more or less work after others have seen them.

Give each feature the option to be deployed independently, by allowing each branch to be deployed independently. Once you have two features on a single branch, you've coupled them.

Write (well) to your future self

Pay attention to the words you choose, whether it's variables, methods, classes, modules, comments or commit messages. In the moment when you're developing a feature, everything seems obvious, like you'll remember everything. But remember two things: your teammates don't have the immediate context that you do now, and you will not have that immediate context some short time into the future.

Editors look for ambiguous pronouns when they review writing, to make sure that everything is clear to the reader. Take that same level of care, and make everything as clear as you can.

Test everything again

Your engagement with a feature and the related code only starts when you commit to the repository. From there, follow your code through to a test environment, ideally an environment that is similar to production. Review your feature, show it off, get feedback, check that it works and that it performs.

Don't stop there, though. Once you're feature is deployed, do the same in your production environment. At that point, take a deep breath, smile, and really call your feature DONE.

Defend everything you do

Justify everything. Every line of code you write. Every line you don't write. Everything you add, and everything you delete. Every name you choose, and every name you avoid. Everything you decide to work on first, and everything you decide to put off for later. Every choice you make, and every option you weigh.

The answer can be as simple as "I saw an example on stackoverflow", or as nuanced as "I applied XXX pattern and referenced in YYY book, trading off ZZZ for WWW". Reply at your appropriate level, but know why you've done what you've done.

You're answer doesn't need to be right, but it does need to reflect the best you knew at the time.

Write things down

Development work gets complex pretty quickly. Don't add to the complexity by forgetting what you need to do. Whether you're discussing a new feature, or having a code review, or discussing what needs to be done that day.

Keep your list nearby. Even better, keep it public. Let everyone see what you're working on. You and a teammate might recognize some duplicate effort, or a way to streamline some of the work.

Communicate with your team

Become a radiator of information. What are you working on? What problems are you having? What solutions have you found? What could be done better? When are you integrating and deploying your changes?

Don't limit this to technical tasks, either. When are you taking time off? Are you coming in late tomorrow? Are you leaving early on Friday? Let your teammates know, early and often.

Don't be afraid of information overload, at least not in this case. The more information everyone has, the better the whole team can act and react.

You are not alone

Ask for help. That's what your pair, your team, your company and your community are for.

Happy New Year! Have a great 2013! Become an excellent developer!

72 comments:

  1. What, no pair programming?

    Happy New Year - good to see you blogging again.

    ReplyDelete
    Replies
    1. Happy New Year to you, too, Tom!

      I think pair programming is a great way to get high-quality software done quickly. Pairing also comes with built-in opportunities for learning, and I've found it to be lots of fun.

      With this list, I was focusing on tactics that an individual can learn and practice, towards become an excellent software developer and a great contributor to the team.

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Thanks for all this tips! I will show it to our software development company http://www.nixsolutions.com/, because it seems they forgot some of these rules. It's good firm but sometimes i think that we could make some parts of project by ourselves.

    ReplyDelete
  4. Thanks for the information. Helped us to convince most on how this process works and what they could achieve by following these guidelines design services

    ReplyDelete
  5. This is the best application on the drop today. There access to enjoy great moments of relaxation: age of war 2|
    age of war 5
    Great! Thanks for sharing the information.Summon creatures to fight enemy units and demolish the opposing castle. Your castle is equipped with a crossbow, which you can use to shoot enemies age of war 6. Make sure you upgrade skills to increase your chances of winning battles.
    The goal of Age of War is to survive longer than the computer and to outlast him you’ll need to train the right troops while balancing your offence and defence in this high paced, quick thinking flash game age of war 4
    . Train troops of you own to combat the computers. As you kill off the computer troops, you will gain EXP and you will eventually advance to the next age.
    Choose a starter deck and prepare for an epic war!age of war 3

    Command your units in each battle to attack the enemy’s castle, while protecting your own base earn to die 2. Earn and upgrade cards to help you conquer the land.age of war

    happy wheels | tank trouble
    Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well.this was actually what i was looking for,and i am glad to came here!
    cubefield It contains a plethora of tools and objects for level building such as harpoon guns,blocks and vans. Users can upload their maps to a public server where they are accessible

    ReplyDelete
  6. ATX tax service provider keeps data securely on cloud servers which are safely stored in their high-class SSAE No.16 compliant data centers. To keep data secure hosting service provider uses high quality anti - spyware software, latest firewall systems, high quality anti - virus software, high class intrusion prevention system(IPS), round the clock network monitoring, and many other stern security measures. driver toolkit key

    ReplyDelete
  7. Thanks for all this tips! I will show it to our software development company https://qubit-labs.com/qa-outsourcing/, because it seems they forgot some of these rules. It's good firm but sometimes i think that we could make some parts of project by ourselves.

    ReplyDelete
  8. Hi,

    It was excellent information, thanks for sharing and please keep sharing such more articles.
    Selenium training in Chennai | Best Selenium training institute in Chennai

    ReplyDelete
  9. Thank you for the advice, take a note, our company also uses outsourcing http://www.intellias.com/

    ReplyDelete
  10. The companies can work out on some other primary areas of development after selecting the affordable PHP developer.

    ReplyDelete
  11. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    google-cloud-platform-training-in-chennai

    ReplyDelete
  12. My developer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s trying none the less. I’ve been using Movable-type on several websites for about a year and am anxious about switching to another platform. I have heard great things about blogengine.net. Is there a way I can transfer all my WordPress posts into it? Any help would be appreciated.

    DevOps Training in Chennai

    ReplyDelete
  13. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article. thank you for sharing such a great blog with us.

    python training in chennai | python training in bangalore

    python online training | python training in pune

    python training in chennai

    ReplyDelete
  14. This is quite educational arrange. It has famous breeding about what I rarity to vouch. Colossal proverb. This trumpet is a famous tone to nab to troths. Congratulations on a career well achieved. This arrange is synchronous s informative impolite festivity to pity. I appreciated what you ok extremely here.
    java training in chennai | java training in bangalore

    java online training | java training in pune

    ReplyDelete
  15. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

    rpa training in Chennai | rpa training in pune

    rpa training in tambaram | rpa training in sholinganallur

    rpa training in Chennai | rpa training in velachery

    rpa online training | rpa training in bangalore

    ReplyDelete
  16. Greetings. I know this is somewhat off-topic, but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform like yours, and I’m having difficulty finding one? Thanks a lot.

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    Amazon Web Services Training in Pune | Best AWS Training in Pune

    AWS Online Training | Online AWS Certification Course - Gangboard

    ReplyDelete
  17. I recently came across your blog and have been reading along. I thought I would leave my first comment.
    python online training
    python training in OMR
    python training course in chennai

    ReplyDelete
  18. Softhax
    Find best android iOS apps free now. Install them on your phone with easily simple steps. Free android games, free applications. IDM BUILD 10 Cracked Latest Version

    ReplyDelete
  19. The project manager works in conjunction with a client-facing senior engineer called a software business analyst. https://www.dbdesigner.net

    ReplyDelete
  20. I would like to thank you for your nicely written post, its informative and your writing style encouraged me to read it till end. Thanks
    devops online training

    aws online training

    data science with python online training

    data science online training

    rpa online training

    ReplyDelete
  21. You’ve written a really great article here. Your writing style makes this material easy to understand.. I agree with some of the many points you have made. Thank you for this is real thought-provoking content

    Microsoft Azure online training
    Selenium online training
    Java online training
    Python online training
    uipath online training

    ReplyDelete
  22. Thanks for the excellent article. Very Informative blog.

    Article submission sites
    Education

    ReplyDelete
  23. Its as if you had a great grasp on the subject matter, but you forgot to include your readers. Perhaps you should think about this from more than one angle.
    date analytics certification training courses
    data science courses training
    data analytics certification courses in Bangalore
    ExcelR Data science courses in Bangalore

    ReplyDelete
  24. Nice tips for Software Developers, Very informative post, thanks for sharing.

    ExcelR Data Science in Bangalore

    ReplyDelete
  25. Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
    python training in bangalore

    ReplyDelete
  26. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated.




    BIG DATA COURSE MALAYSIA

    ReplyDelete
  27. thanks for sharing informative article, best article of this week.
    learn about iphone X
    top 7 best washing machine
    iphone XR vs XS max
    Samsung a90
    https://www.technewworld.in




    ReplyDelete


  28. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.
    www.technewworld.in
    How to Start A blog 2019
    Eid AL ADHA

    ReplyDelete
  29. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work. Learn how to handle hazardous materials in the workplace, in accordance with Canadian Regulations with whmis online training course.

    ReplyDelete
  30. Thanks for the information, Our workplace harassment and violence prevention online course which helps you to understand skills, strategies to properly respond and resolve them.visit workplace safety courses

    ReplyDelete
  31. Thanks for sharing a valuable information to us. Thanks for your blog.web design company in velachery

    ReplyDelete
  32. thanks for Sharing such an Awesome information with us.

    I learned World's Trending Technology from certified experts for free of cost.i Got job in decent Top MNC Company with handsome 14 LPA salary, i have learned the World's Trending Technology from Python training in pune experts who know advanced concepts which can helps to solve any type of Real time issues in the field of Python. Really worth trying Freelance seo expert in bangalore

    ReplyDelete
  33. Thanks for such an informative blog that helped me to understand the importance of first aid & safety training that helps us to avoid many misshapen. There are various online courses available such as health and safety training courses for more information.

    ReplyDelete
  34. You need to be careful enough before working at the construction site. The harassment prevention training for managers are important for working at the construction site. You can opt for professional safety classes online for more information.

    ReplyDelete
  35. You need to consider the safety harness which can occur at construction site. Get the proper professional driver improvement course online which will useful for you and employees. You can opt for professional Traffic Control Course Online for more information.

    ReplyDelete
  36. When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. check it out

    ReplyDelete
  37. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog

    ReplyDelete
  38. I need to to thank you for this very good read!! I definitely loved every little bit of it. I have you bookmarked to check out new things you post… data science course bangalore

    ReplyDelete
  39. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.… data science courses

    ReplyDelete
  40. I would like to say that this blog really convinced me to do it! Thanks, very good post. Read more

    ReplyDelete
  41. Study ExcelR Business analytics courses where you get a great experience and better knowledge.
    Business analytics courses

    ReplyDelete
  42. A group of QuickBooks Support Phone Number dedicated professionals is invariably accessible to suit your needs so as to arranged all of your problems in an attempt that you’ll be able to do your projects while not hampering the productivity. good job
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

    ReplyDelete
  43. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    Data Science Institute in Bangalore

    ReplyDelete
  44. Thanks for your nice post, i am interested to learn online freelancing, but firstly i have to learn computer , could you suggest me please which computer training center best.


    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery








    ReplyDelete
  45. Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign !
    data science training in vijayawada

    ReplyDelete
  46. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

    Bird Accessories

    ReplyDelete