2 ms·
Yeah, there are a few common mistakes that can get really troublesome when library authors make them. Assuming how you want to structure execution (by using Gen
by lawik 3y ago
Yeah, there are a few common mistakes that can get really troublesome when library authors make them. Assuming how you want to structure execution (by using GenServers in the library usually). Another one is only one instance of config. Meaning if you have a plan to use the library for multiple distinct activities or with multiple accounts, you have trouble.
Both simple config and GenServers have their place in libraries. But if a library doesn't expose the fundamentals it gets gnarly quickly.