I know the concept of async scares some people that don't have much experience in it. I'll always say: Once you go async you never go back (you'll want this concept for everything...). But with that said, you
can also still avoid it with enigma if you want to just create a mod
as a "door". By launching a separate process from enigma you don't
need to worry about anything being async and can really do whatever
you want.
Concurrency was one of the things that drew me to Go (golang). One of its principles was making concurrency part of the programming language,
rather than a module that sits on top of it or binding to a callback. I've started messing around with Goroutines in a crappy little door program
I'm writing and it's pretty cool. A countdown timer that triggers
its own events, writes to stdout, even when a user is typing an
input. Everyone gets a channel!
I'm also a pretty bad progrgrammer, but hoping to get better.
When I was writing React code, I avoided async for so long because it
just seemed so... difficult. Turns out, it's a lot more straightforward
than callback hell. Just takes a bit to wrap your head around.
Enigma's structure and the ability to mod just about
anything/anywhere makes it pretty damn powerful IMHO.
Best,
|04[] |11Alpha
|03The Drunken Gamer |08/ |14TheDrunkenGamer.com:2323
|07A Talisman BBS
--- Talisman v0.10-dev (Linux/x86_64)
* Origin: The Drunken Gamer BBS (21:4/158)