How to deliver software: Difference between revisions

From ym2149.org
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 12: Line 12:
** enforce business behaviour with unit tests to support that refactoring
** enforce business behaviour with unit tests to support that refactoring
** yagni also applies to requirements, functionality that isn't really needed is a major source of tech debt, also see playing the [[security card]]
** yagni also applies to requirements, functionality that isn't really needed is a major source of tech debt, also see playing the [[security card]]
*** consider the impact of not doing a ticket
** see [[Defect driven development]] for YAGNI taken to its logical conclusion
** see [[Defect driven development]] for YAGNI taken to its logical conclusion
* most of the [http://www.extremeprogramming.org/rules.html extreme programming rules]
* most of the [http://www.extremeprogramming.org/rules.html extreme programming rules]

Latest revision as of 13:56, 19 April 2024

Guidance

Process

  • default branch should always be releasable
    • any developer starting a feature branch can be confident of a stable base
    • also merging a feature branch into the default branch does not build upon questionable code
  • a ticket is done when the changes are in production
  • split work feature by feature, not layer by layer
    • descope tasks that can later be fixed forward
  • squash merge makes the history less useful for investigations or revert
    • in particular, a story may result in a refactor commit followed by a feature commit. combining those throws away a ton of information and may make refactoring less attractive to developers. they should not be in separate pull requests as refactoring needs context or may be negative work, and benefits from a free round of testing
  • merge your own pull requests, own that responsibility
  • keep your own tickets up to date. in particular, only the assignee knows when it can really be moved to done e.g. experimental cloud resources may need to be tidied up