@aral Respectfully, this looks like an anti-pattern. `b` won't be part of the prototype, potentially preventing some meta programming, and you're going to get a new `b` for each instance of that class, consuming that much more memory for each instance you hold.
Notices by Marsup (marsup@mastodon.social)
-
Embed this notice
Marsup (marsup@mastodon.social)'s status on Friday, 10-Jan-2025 05:43:39 JST Marsup
-
Embed this notice
Marsup (marsup@mastodon.social)'s status on Wednesday, 02-Oct-2024 16:54:06 JST Marsup
@aral @dansup I feel like this is what happened with XMPP when Google chose to shutdown its support in Google Chat (or whatever it was called at the time), many people used their server out of convenience because self-hosting was far less common (still isn't), and then XMPP population dropped massively because of Google's decision. The protocol never quite recovered from that IMHO.