Wednesday, June 3, 2015

In search of ideal projects - Engineer's diary

Working with several smart folks around me in last 9-10 years, I developed a good sense of software development and architectures. I realized lately that to architect and implement a feature in the 'right-way' is one part, but when we work in 'Agile' how to balance the Quick Delivery Vs Good Product is another part of Engineer's life.

As all projects are different in nature, I categorize them in three types:
(Quality is on scale of 1 to 5 where 5 is excellent)
  1. Quick and Dirty
    Usually duration of these projects are 1-2 months and these projects provide high-impact and low cost development. Mostly as name suggest, going fast with this speed would force Architects/Developers to cut corners and deliver the solution.

    Pros:
    - High Impact and Low Cost
    - On time delivery

    Cons:- Messy code
    - Cut corners
    - Few bugs (but can be lived with)
    - If this turn-out to be long term project then a developer's nightmare to cleanup or to understand business logic and re-write in a better way.
    - Quality of code around 2.
  2. Clean and Low Tech DebtIdeal project that an Architect/Developer can dream about. Here Architects lay-out a clear plan about project and adapt to business change as project goes on. Developers also get freedom to explore best practices and implement them and Architects push back on the timeline and deal with POs and Sponsors when team 'really' need to work on tech-debts.

    Pros:
    - Win-Win situation in long-term
    - Good quality of code and scores around 4.5+
    - Peace of mind to Developers and Architects when they leave office

    Cons:
    - Sponsors/POs might feel that they are pushed back for wrong reason (But A good Architect can give a solid case for tech-debt reduction)
  3. Ongoing and MessyThis is kind of dragging/accumulating tech-debts projects. Part of problem is lack of discipline from Developers/Architects, but bigger picture might also be missing during initial phases.

    Pros:
    - This might give a false impression to Sponsors/POs that they are able to get the features done and delivery is on time but reality is they are allowing tech-debt to grow, making harder to developers build feature.

    Cons:
    - This is extended version of Type-1 projects
    - Extended nightmares
    - Extended work-hours for Developers/Architects
    - Quality of code is usually 3 to 3.5
Since Type-1 serve a different purpose and Type-2 is ideal case, I think we can only find and improve Type-3 towards Type-2. I found that more you get disciplined in coding practices better the quality of code you get.

Please share your thoughts and which 'Type' of project you are working on?