Showing posts with label Non-Solo development. Show all posts
Showing posts with label Non-Solo development. Show all posts

Sunday, May 16, 2021

Whole team, dependencies and context


 Whole team it is an interesting agile concept that could bring more benefits

  • enables organization around the product and services and usage of cross functional skills 
  • reduces work dependencies between teams 

Reducing dependencies it is important because it will avoid some sources of waste such as some significant delays. 

However, you cannot do always all the work inside the team. Examples:

  • work can exceed the team's capacity for a period of time
  • you may need some special skills that are not usually required

Here are some example of options

  • collaboration with Enterprise Architects
  • collaboration with others teams 
  • collaboration with members from other teams

Any external dependency could lead to unexpected delays and other subsequent waste. A good idea to reduce these dependencies is to include these collaborators in the team for a while. Replace external de dependencies with internal ones. Is it extraordinary or not?

Once upon a time (true story) ... a customer pays to "borrow" a team member instead of buying development services. At first glance, it was a much cheaper solution. Three moths later, the development company has to rewrite that part of the code. What happened? An independent team member could not provide the same quality of service as being part of a dedicated team for that product.

Let's study a few cases. 

Case 1 Collaborating teams. Two teams of Agile products (team A and team B) collaborate with each other. Each team works collaboratively: using non-solo work/pairing and collective ownership of all artifacts. The only major problem is the dependence between teams, which could cause delays / waste.

Case 2 New team member supplements the missing team capacity.  Team A will borrow a developer to team B for a period. The new team member cannot be 100% effective because need to learn and practice what is specific to the new team. The collective ownership in team A is broken for a while. 

Case 3 New team member provides services for changing product B. Team A no longer depends on Team B? What about the collaborative work and collective ownership of Team B? What happens to the quality of service when changing product B?

We cannot just move people between teams and pretends to reduce dependencies. We want to reduce some delays but we can introduce others delays and also other sources of waste as poor quality and knowledge gaps. 

A starting point is to consider the whole, not only inter-team dependencies, but also the effectiveness of each team after the change. There are no simple solutions. We need to talk with both teams and involve them in creating a collaboration scenario that work best in the context.  

Sunday, July 24, 2016

Principles for a community of professionals - I



Not only individuals and interactions, but also a community of professionals
– Manifesto for Software Craftsmanship.

“Team” has recently become a dogma. Accelerated improvement and the avoidance of wasting time, resources and talents can only be achieved within a community, where both teams and teams of teams are effective. The evidence for this comes from the evolution of human civilization. After lengthy  prehistory, where the main organizational form was the team, the transition to “history” was triggered by the emergence of the first human communities. The history of mankind is the direct result of how humans find ways to share experience and knowledge within various forms of communities.

A better way to accelerate improvement and avoid waste in any profession is to go beyond teams and make individuals and teams collaborate across various communities.        

Conditions and principles for creating and evolving a community of professionals:

Critical mass of potential skills

Knowledge and experience sharing

Active collaboration between individuals

Active collaboration between and across teams

Talents valorization: promote and connect “rare ideas”

Knowledge persistence

Evolving stability

Promoting valuable ideas 

Different kinds of communities

Emergence: Creating new values, new practices and new communities
Corollary
The axe of progress is: individual, team, teams of teams, communities

See next - Principles for a community of professionals - II 

Thursday, August 6, 2015

Software developers "curse"

It is more likely that mathematicians and software programers to be introverts. Maybe it is just a myth. Anyway, an observable symptom is this: too often they just want to work "peacefully" alone. Also too often, if you want to extract them from this status, you can have same kind of surprise as in the case you want to steal the food of a baby polar bear (an exaggerated metaphor, but somehow very suggestive).
The problems is this: the domain - software development - nature and difficulty mandatory require , beyond developers intellectual abilities, also a high degree of collaborative work. It is not enough to be passively cooperative, it is rather necessary to be actively collaborative.

The "curse" of software developers is that they need to educate themselves to become some very collaborative introverts. 

That is bad? No, that it is interesting!

Friday, September 26, 2014

"Upgrading" Pair Programming (2) - Non-Solo Development

Notes

.


Introduction


Non-Solo Development it is an Agile practice that goes beyond programming/coding ("Pair Development") and could combine pairing and solo-development techniques in a mixed approach.
Pair Programming and any other Pair Development techniques could bring significant advantages on fulfilling some process goals as: better decisions, collective ownership, knowledge sharing and fast learning. Anyway, many times, the decisions to adopt or not the pairing it is seen as an option between:
  • Full-time Pair Programming/Pair Development 
  • Solo-Development (no pairing)
That it is a false and harmful dilemma.

We will see later  that:
  • It is mandatory to use, at least for critical decisions, a mixed approach of Non-Solo Development, in order to not jeopardize some significant process goals
  • Discipline it is a major factor for getting good results from cooperative development  

 

Non-Solo Development - goals and techniques

.
The main goals of Non-Solo Development could be:
  • increased capability of taking decisions
  • sharing knowledge and collective ownership
  • effective learning
N-SD could be successfully in combining pairing with solo development only if the most important parts related to these goals are realized. For example, pairing it is mandatory for taking the most important decisions.

In fact, there are 3 techniques that could be used:
  • Pair Development 
  • Solo Development 
  • Simple Conversation (just inform the others, and if is necessary, switch to Pair Development)

 

Comparing mixed approach with pure pairing 

. 

(Mixed - combine paring with solo development and conversations)

Pairing advantages
  • force/ensure collaboration (built-in discipline)
  • larger channel of sharing  the information 
Mixed approach advantages
  • more flexibility on using resources versus concurrent tasks
  • enable sometime necessary solo-development
  • enable direct collaboration beyond pairing: 3 or more persons (up to "mob" development) 
  • seems to be more "natural" 
IMPORTANT: Mixed approach is more flexible , but it is very fragile in case of  poor collaboration  discipline. 

 

Pairing/Direct collaboration need

. 
When pairing and direct collaboration are highly desired? When the work is associated with critical parts related to the goals:
  • most important decisions 
  • sharing critical info
  • learning critical issues
Because of that, we can evaluate some significant practices versus N-SD approach:
  • All the practices
    • N-SD it is mandatory at least as a mixed approach
  • Architecture envisioning , Look Ahead Modeling
    • Some of the most important decisions related to the solution - direct collaboration must be also used
  • Model Storming 
    • Need pairing at least to validate and inform
    • The practice from AM - Agile Modeling suppose mostly the direct collaboration
  • Requirements clarification
    • Need pairing at least to validate and inform
  • Coding
    • Need paring at least for significant decisions: transforming to code the ones from the envisioning and modeling and for the ones taken directly in the code 
For some of the mentioned practices, see http://agilemodeling.com/.  

 

Mixed approach example - discipline versus problems

.
A, B, C, D are agile developers involved in a software project. Here it is possible disciplined  sequence of activities based mainly on Non-Solo Development and inspired from a real case (Where A,B or A,B,C means paring/direct collaboration):
  • A - Requirements clarification with the customer
  • A, B -  Requirements analysis
  • A - document requirements 
  • A, B -  Requirements clarification with the customer
  • A,B, C - Requirements conversation 
  • A - document requirements
  • A, B - Architecture Envisioning
  • A,B, C - Architecture conversation
  • B - Look Ahead Modeling
  • B, C - Look Ahead Modeling
  • A,B,C  - Design conversation 
  • B - Solo Programming
  • B, C- Pair Programming 
  • B - Solo Programming
  • A,B, C - Programming Conversation
The above sequence could have fulfill all the listed goals: capability, sharing, collective ownership ans fast learning.
Let consider another sequence:
  • A - Requirements clarification with the customer
  • A - Requirements analysis
  • A -  document requirements, but not saved in the repository
  • A, C - Requirements conversation 
  • A - Architecture Envisioning
  • A, C - Architecture conversation
  • A - Look Ahead Modeling
  • C - Solo Programming
For this sequence, with significant less discipline on adopting direct collaboration on critical parts, we have the following problems:
  • B it is totally excluded from collective ownership and C only partial
  • Most of the important decisions have been taken by a single person 
  • There is no sharing for a lot of information 
  • B and C will need a significant effort to recuperate the gaps in their knowledge

Some conclusions

  • Full paring could be optionally, but direct collaboration, at least for critical development decisions, is mandatory for good results on both short and long terms
  • Discipline on adopting cooperative development it is essential  
  • Solo-development hast its place in the process, but individualism has not 

Monday, September 15, 2014

"Upgrading" Pair Programming

Re-interpreting Pair Programming

NOTE:  See http://agiledesign.org/2014/09/09/i-roadmap-to-an-agile-design/ for a view of Non-Solo Developmental in context of practices for an Agile Design

XP has introduced Pair Programming as an essential Agile practice. PP is a form of very direct cooperative work: “2 people working at a single computer”. This practice try to boost the most important activity in an Agile process, the coding, using the strongest form of direct collaboration inside the team. 

Remember that Agile uprising against traditional approaches (read Waterfall) has tried to restore the importance of the coding as the true ground to deal with the design and architecture. That was an uprising against the “paper architects”, that try to delimit themselves from concrete code and coding. 
Agile states that “Code is design”, that mean real design and real architecture are only the ones finally realized and validated by the real code and not the ones just drawn on paper.

Pair Programming it is a highly effective practices, but the remaining question if has enough coverage to describe the needed cooperative work inside the team.

Unfortunately,  the practice name it is interpreted too literally, only for direct coding activities. Yes, Agile has restore the importance of the coding in the overall development, but let think a little: what is the meaning of “Programming” from XP name?
In fact it is “Development”, where the effective programming/coding it is, of course, very important. An XP programmer it is, in fact, a multi-role developer involved also in planning, requirements, architecture, and design, coding and testing. A much better term could be then “Pair Development”. 
Also, the “pairing” could be the most common approach, but a “cooperative development” could occasionally include more developers.
The extensions points for high-cooperative work are: 
  •  including all the development related actvities
  • considering more than 2 developers, when pairing and direct collaboration it is alternated with solo-development 

Non-Solo Development

In DAD (Disciplined Agile Delivery), Scott W. Ambler has introduced the term and the practice of “Non-Solo Development” for this extended cooperative development approach. See: 


From my experience (in various projects,/products /teams/development cases) this practice was very useful for very difficult complex cases of requirements clarification, finding best architecture and design decisions, in very difficult bug-fixing activities, or even in complex planning. 

There are two main dimensions for defining cooperative development:
  • Type of activity 
    • “coding” (working with on the code, while design decisions are also included)
    •  other: requirements, architecture/design, testing, planning
    •  mixed (combining related types)
  •  Type of collaboration
    •  “pairing” (usually 2 persons)
    •  combined:  mixing solo-development with "pairing" (2 or more persons)



“Pairing”
Mixed
Activity - “Coding”
Pair Programming
Non-solo Programming
Activity – Modeling
Pair Modeling
Non-solo Modeling
…
…
…
Activity - Mixed
Pair Development
Non-Solo Development


Existent examples

Some already existent Agile practices are in fact sub-parts of Non-Solo Development 
  • Planning Poker, Sprint Planning (and any re-planning) -  are Non-Solo Development practices where the goal is planning, but the activity types are rather mixed (requirements, solution, planning)
  • Model Storming (from DAD) - the main activity type is design

Conclusions…we need both

Conclusions - I

  • The most generic category/term is “Non-Solo Development” and “Pair programming” it is just a particular case

Conclusions - II

  • “Non-Solo development” cannot replace “Pair Programming” because that practice has a specific, very important role in Agile and software development. “Non-Solo development” just add other missing aspects of  cooperative work 
  •  It is better to be always to distinct  (by name)
    •  Pair Programming  - a practice that want to boost the core activity , the “coding”
    • Pair Development – a practice where the overall development is performed mainly  by pairing
    • Non-Solo Development – the generic case, when are combined more than one type of activity and are involved more than 2 persons
 

Some practical results

When we have used "Non-Solo Development" for the above mentioned activities the number of involved persons was 2-3 and sometime more. Some interesting results of the experiments:
  •  Overall results are much better when we have involved 3 team members instead of 2 for the specific cases with increased difficulty
  • The most experienced/skilled people have a bigger ability and desire to perform cooperative work (the others have still something to prove by solo-development…)
  • Unfortunately, the resulted practice from team self-organization it is solo-development. The cooperative works need to be “protected” by the most experienced team members.
  • The learning curve about product knowledge has significantly improved
For goals, techniques and examples see Part 2:

http://agileand.blogspot.ro/2014/09/upgrading-pair-programming-2-non-solo.html