Post #1689000
2026-04-01 12:23 UTC
@defuneste @lwpembleton @drdcarpenter @mschmidty as you know, I have called this an anti-pattern.
You’re putting analysis behind a single declarative interface with many parameters. This type of interface is brittle because the combinatoric explosion of possible parameter values makes it difficult to create appropriate behaviours for all combinations.
The example was only small, yet I think still failed to handle a case where not every selected trait has a defined weight(?).
Replies (1)
-
@milesmcbain@fosstodon.org 2026-04-01 12:25
@defuneste @lwpembleton @drdcarpenter @mschmidty more complex schemes become riddled with issues like that.