Graham Sutherland / Polynomial on Nostr: just had an absolutely cursed thought. I was thinking about a variant of aspect ...
just had an absolutely cursed thought.
I was thinking about a variant of aspect orientated programming, but instead of declarative aspects being applied at compile-time you have a declarative classifier system which dynamically applies aspects to type instances at runtime.
and then I realised that this isn't far off how Unity's behaviour system works.
Published at
2024-11-17 09:49:18Event JSON
{
"id": "d090231e53ca38ee0aff9919b80936e3904cd5280d217f404f2c1437392d7b63",
"pubkey": "72025f2d3f9600cb4f992f4d20f3efc3f0bf6a650e5272ad7a920d716a648c81",
"created_at": 1731836958,
"kind": 1,
"tags": [
[
"proxy",
"https://chaos.social/users/gsuberland/statuses/113497666938670874",
"activitypub"
]
],
"content": "just had an absolutely cursed thought.\n\nI was thinking about a variant of aspect orientated programming, but instead of declarative aspects being applied at compile-time you have a declarative classifier system which dynamically applies aspects to type instances at runtime.\n\nand then I realised that this isn't far off how Unity's behaviour system works.",
"sig": "4fe1d70f74a9dbd6cdc5d126c7cdac7f6ddc8dd474aaa7c7d49b838a0966530e748982a163f65fd8d2a9cb1ea046d45cf889e839cba94fac3ffbe38c01bda32e"
}