Permalink
Browse files

Update modular-code.md

Updated after the 2017-06-01 webinar
  • Loading branch information...
NewMexicoKid committed Jun 1, 2017
1 parent 82b3f3e commit 3e9f5a641d24f783876193568a3bfd6c19a42449
Showing with 22 additions and 6 deletions.
  1. +22 −6 modular-code.md
@@ -1,4 +1,4 @@
**Title:** ??
**Title:** Modular Code
**Statement of Problem:**
Development does not want to spend the extra resources needed to develop modular components. As a result, shared components are not reused.
@@ -8,18 +8,32 @@ Development does not want to spend the extra resources needed to develop modular
* This is a new product/new code, not a legacy product/code.
* There is an available repository for sharing code.
* Making code modular takes extra effort and time to develop.
* Time commitments might already have been made for customer deliveries (not changeable).
**Forces:**
* There is a learning curve to writing code that can be reused.
* Extra documentation is required for reusable code.
* If you expose it, there is also the spectre of needing to provide support for it.
* Some companies have a common components group that develops reusable code, but others feel that such components should be developed by those business lines that are using the components and a library of common components could be established.
* Developers might not know how to write modular code. Education might be needed.
* Might be a fear that if not done properly, quality might be impacted.
* Developers might not have incentive to write modular code (due to their tight schedules and lack of a mandate).
* You might be dealing with legacy systems (can't be simply refactored or rewritten).
* Requirements might be different for writing modular code.
* Architectural constraints might impact modularity.
* Developers who develop monolithic code bases might lack the perspective of how modularity might improve how they work.
**Resolution:** ?
* Provide incentives to teams to invest in modular code
**Resolution:**
* Provide incentives to teams to invest in modular code. Modular code is far more reusable. This could work well for large teams when working on modularized projects; team members can focus on their smaller assigned tasks.
- Developers could get an opportunity to increase their influence in the organization.
* Select certain "success projects," teams that will develop reusable code and demonstrate the long term success. This can help motivate others (they see what is possible and what is in it for them). Transparency is critical.
* Offer education. Modular code is well-understood; there is a lot of literature in favor of this.
* Establish a checklist of elements to be checked off to classify a component as reusable
* Select certain "success projects," teams that will develop reusable code and demonstrate the long term success
* Accept the cost of modularization, build time into the release schedule.
* Companies moving to use more open source code will appreciate modularity more over time.
* Modular code is easier to work with, especially for larger teams.
* Mitigate risk and fear of quality degradation from accepting InnerSource contributions.
* Establish a checklist of elements to be checked off to classify a component as reusable.
- There could be requirements on tests, tools and documentation before considering a component as reusable
* Establish standards on testing methodology, labeling of repos.
**Resulting Context:**
Time is spent making the shared code modular so it can be reused.
@@ -28,3 +42,5 @@ Time is spent making the shared code modular so it can be reused.
**Status:**
Donut

0 comments on commit 3e9f5a6

Please sign in to comment.