On Thu, 2022-02-10 at 10:30 +0100, Roman Haefeli wrote:
- I'm personally not so fond of the idea of giving people patching
advice.
Let me rewrite that to 'unsolicited patching advice'.
I was the other day stumbling across a not-so-trivial-to-resolve bug. The problem turned out to be a [loadbang] from an abstraction initializing stuff in the parent patch that again initialized stuff in other abstractions. Because there is undefined order among the abstractions' [loadbang]s, the other abstraction received a message before it was ready to do so.
Although very similar to the fanning outlet connections anti pattern, this (loadbang-with-outside-effect-in-abstraction) might be a less known one.
I'm curious what other anti patterns people learned to avoid during their patching career.
Roman