[PD] anti patterns (was: [midifile])

Roman Haefeli reduzent at gmail.com
Thu Feb 10 15:16:08 CET 2022


On Thu, 2022-02-10 at 10:30 +0100, Roman Haefeli wrote:
> 3) 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/aac88ac0/attachment.sig>


More information about the Pd-list mailing list