logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git
commit: 692b28dfafff951413c20a451d64d8afce0ef837
parent cd07ba6af1e35f777f28a641ffd18d3a96d96f2d
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  4 Jan 2021 09:55:50 -0500

Stability & reliability

Diffstat:

Acontent/blog/A-culture-of-stability-and-reliability.gmi13+++++++++++++
Acontent/blog/A-culture-of-stability-and-reliability.md61+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 0 deletions(-)

diff --git a/content/blog/A-culture-of-stability-and-reliability.gmi b/content/blog/A-culture-of-stability-and-reliability.gmi @@ -0,0 +1,13 @@ +There’s an idea which encounters a bizzare level of resistance from the broader software community: that software can be completed. This resistance manifests in several forms, perhaps the most common being the notion that a git repository which doesn’t receive many commits is abandoned or less worthwhile. For my part, I consider software that aims to be completed to be more worthwhile most of the time. + +There are two sources of change which projects are affected by: external and internal. An internal source of change is, for example, a planned feature, or a discovered bug. External sources of change are, say, when a dependency makes a breaking change and your software has to be updated accordingly. Some projects will necessarily have an indefinite source of external change to consider, often as part of their value proposition. youtube-dl will always evolve to add new sites and workarounds, wlroots will continue to grow to take advantage of new graphics and input hardware features, and so on. + +Any maintained program will naturally increase in stability over time as bug fixes accumulate, towards some finite maximum. However, change drives this trend in reverse. Introducing new features, coping with external change factors, even fixing bugs, all of this often introduce new problems. If you want to produce software which is reliable, robust, and stable, then managing change is an essential requirement. + +To this end, software projects can, and often should, draw a finish line. Or, if not a finish line, a curve for gradually backing off on feature introduction, raising the threshold of importance by which a new feature is considered. + +Sway, for instance, was “completed” some time ago. We stopped accepting most major feature requests, preferring only to implement changes which were made necessary by external sources: notably, features implemented in i3, the project sway aimed to replace. The i3 project announced this week that it was adopting a similar policy regarding new features, and thus sway’s change management is again reduced in scope to only addressing bugs and performance. Sway has completed its value proposition, and now our only goal is to become more and more stable and reliable at delivering it. + +scdoc is another project which has met its stated goals. Its primary external source of change is roff — which is almost 50 years old. Therefore, it has accumulated mainly bugfixes and robustness over the past few years since its release, and users enjoy a great deal of reliability and stability from it. Becoming a tool which “just works” and can be depended on without a second thought is the only goal going forward. + +Next time you see a git repo which is only getting a slow trickle of commits, don’t necessarily write it off as abandoned. A slow trickle of commits is the ultimate fate of software which aims to be stable and reliable. And, as a maintainer of your own projects, remember that turning a critical eye to new feature requests, and evaluating their cost in terms of complexity and stability, is another responsibility that your users are depending on you for. diff --git a/content/blog/A-culture-of-stability-and-reliability.md b/content/blog/A-culture-of-stability-and-reliability.md @@ -0,0 +1,61 @@ +--- +title: Fostering a culture that values stability and reliability +date: 2021-01-04 +outputs: [html, gemtext] +--- + +There's an idea which encounters a bizzare level of resistance from the broader +software community: that software can be completed. This resistance manifests in +several forms, perhaps the most common being the notion that a git repository +which doesn't receive many commits is abandoned or less worthwhile. For my part, +I consider software that aims to be *completed* to be more worthwhile most of +the time. + +There are two sources of change which projects are affected by: external and +internal. An internal source of change is, for example, a planned feature, or a +discovered bug. External sources of change are, say, when a dependency makes a +breaking change and your software has to be updated accordingly. Some projects +will necessarily have an indefinite source of external change to consider, often +as part of their value proposition. [youtube-dl][0] will always evolve to add +new sites and workarounds, [wlroots][1] will continue to grow to take advantage +of new graphics and input hardware features, and so on. + +[0]: https://youtube-dl.org/ +[1]: https://github.com/swaywm/wlroots + +Any maintained program will naturally increase in stability over time as bug +fixes accumulate, towards some finite maximum. However, change drives this trend +in reverse. Introducing new features, coping with external change factors, even +fixing bugs, all of this often introduce new problems. If you want to produce +software which is reliable, robust, and stable, then managing change is an +essential requirement. + +To this end, software projects can, and often should, draw a finish line. Or, if +not a finish line, a curve for gradually backing off on feature introduction, +raising the threshold of importance by which a new feature is considered. + +[Sway](https://github.com/wlroots/sway), for instance, was "completed" some time +ago. We stopped accepting most major feature requests, preferring only to +implement changes which were made necessary by external sources: notably, +features implemented in i3, the project sway aimed to replace. The i3 project +[announced this week][2] that it was adopting a similar policy regarding new +features, and thus sway's change management is again reduced in scope to only +addressing bugs and performance. Sway has completed its value proposition, and +now our only goal is to become more and more stable and reliable at delivering +it. + +[2]: https://old.reddit.com/r/i3wm/comments/kn8pa2/an_update_on_the_future_of_i3/ + +[scdoc](https://sr.ht/~sircmpwn/scdoc) is another project which has met its +stated goals. Its primary external source of change is roff &mdash; which is +almost 50 years old. Therefore, it has accumulated mainly bugfixes and +robustness over the past few years since its release, and users enjoy a great +deal of reliability and stability from it. Becoming a tool which "just works" +and can be depended on without a second thought is the only goal going forward. + +Next time you see a git repo which is only getting a slow trickle of commits, +don't necessarily write it off as abandoned. A slow trickle of commits is the +ultimate fate of software which aims to be stable and reliable. And, as a +maintainer of your own projects, remember that turning a critical eye to new +feature requests, and evaluating their cost in terms of complexity and +stability, is another responsibility that your users are depending on you for.