Do you have devs who resist Scrum or don’t want to take the time to write better code? I can attest that with very few exceptions devs want to do the right thing in the right way. So why does it show up differently?
- devs are under a lot of pressure & their commitment to get the job done just has them put their heads down and work harder
- the investment in learning new skills appears to require more time than they feel they have
- they like to learn things that directly make their life better/easier
When considering developer improvement one must consider the fact that you have motivated people with the above attitudes. One effective way is to teach practices.
A practice is something that is always a good thing to do. For something to be promoted as a practice, it must be truly universal (you can always do it, and everyone should do it). Therefore, it must be:
Easy to do. We don’t want to burden ourselves or slow ourselves down.
Easy to teach. If we want everyone to do them, they must be easy to learn
Be highly valuable. A good practice should pay you back over and over and over again.
Here are a few:
- Programming by intention
- Make state private
- Encapsulate constructors
- consider tests prior to writing code