Should programming language docs come with exercises for the reader to test their understanding?
This feels like a great way to help people learn, and you could even measure docs by pass rate.
I've seen online books occasionally use this format, but never official resources.
I've been implementing a quasiquoter as part of the wonderful Make-A-Lisp project: https://github.com/kanaka/mal
This has been the most interesting part so far! I now have a pretty good understanding of how it's an AST transformation that you later eval. I.e. basically a macro.