escherize
Joined 13 years ago
Joined 13 years ago
I think it might be better to go the other way, and have a pattern-matchey form generate the defmethods instead, but I need to gain tacit knowledge about it first.
Babashka tasks is fantastic too! Multi-threaded, simple, and very few surprises.
If your method only needs 1 argument then why should the other ones matter? I don't see a problem here. clj-kondo will guide people to name them as _ or _thing anyway so you don't even need to think about it.
Here are some games I made as a hobbyist with godot, in increasing complexity:
- https://escherize.com/works/magnet - https://escherize.com/evermeet - https://escherize.com/works/vampire
You can get many of the benefits but also run custom validations (dictate how two keys in a map relate to eachother, or force a be of a certain shape instead of just a string).
Here's the example from the script: [0]
[0] - https://malli.io/?value=%7B%20%3Alocale%20%22en-US%22%0A%20%...