So I’ve recently completed the MacroKata exercises and I’ve found them wonderful. They are the best, most systematic approach to teaching declarative macros in Rust that I’ve come across so far.
The teaching style seems to be very similar to exercism - Every piece of knowledge is taught with one exercise with an appropriately small piece of theory in the instructions. So I thought to myself, why not basically copy these exercises to exercism, to give them more exposure? Of course, some work is going to be required, to make the tests work with exercism’s test runner etc., but I think it’d be worth it. It might be perfect to wrap them in a new concept for macros and add it to the syllabus.
I asked the maintainer to add a license for this purpose, they were very kind to quickly add an MIT/Apache-2 license (link to issue).
They asked me to contact them if we want to proceed with this idea, to discuss some mechanism to keep the two versions of the exercises in sync. We should definitely honor that request.
One thing that doesn’t perfectly match the exercism-style: The exercises are pretty contrived. Exercism usually has some kind of story or description of a real problem scenario for the exercises. MacroKata doesn’t have that. I personally don’t mind at all, but maybe it’s important to the exercism teaching philosophy?
Lastly, there’s the question of who’s gonna do it. I would love to do it myself, but I’m very new to the exercism community and new contributions are kinda paused at the moment, for reasons I completely understand. So, I would also be totally fine with it if some existing maintainer wants to pick this idea up and do it themselves, because it is more efficient and fun, as described in “Freeing our Maintainers”. In that case, I would just ask to honor the request of MacroKata’s maintainer on my behalf and get in touch with them. I would also be fine with putting this idea on hold until the new “community model” of exercism is fresh out the oven :-)
Best regards, Remo