Elektrine lite

← Feed

@bryce@mastodon.brycedixon.dev

Post #3603507

2026-05-09 03:38 UTC

I realized I was being kinda silly and there's a very simple way to simplify the dynamically generated scripts: inheritance 😅 If I move all the shared behavior into a base class, it makes everything simpler, gives me syntax highlighting and auto complete, and lets me use the base class as a static type in any code referencing it. Lots of gains for a very simple change :) I also changed it to `extends RefCounted` because I was memory leaking (oops)

Replies (0)

No replies.