Stream: ideas

Topic: Challenges in tutorial


view this post on Zulip Kilian Vounckx (Jan 10 2024 at 09:26):

I recently played around with uiua (A stack-based array programming language, stack like forth, array like APL). It is a totally different language paradigm to Roc, but what I found nice about it was it website.

What I think would be nice for Roc's website to have as well would be the challenges in the tutorial pages.
At the end of each tutorial page (e.g. this one), they have some challenges. These include an online repl with some examples and some hidden tests. This lets you try out the language and at the same time test your understanding.

Having these challenges made me play around with the language way more than I normally do when reading docs/tutorials.

What do you guys think?

view this post on Zulip Anton (Jan 10 2024 at 09:36):

I'm all for it, we should probably put this functionality in the static-site-gen platform.

view this post on Zulip Anton (Jan 10 2024 at 09:39):

We can use repl code blocks for this

```repl

view this post on Zulip Brendan Hansknecht (Jan 10 2024 at 15:41):

Uiua is a lot of fun. And yeah, definitely can just play with the language in many contexts

view this post on Zulip Kiryl Dziamura (Jan 14 2024 at 12:13):

And in general, having interactive code examples would be a boost for the tutorial.
Also, what I found fascinating about uiua editor is its mobile friendliness (but it's also due to lack of syntax in language). I walked through the whole uiua tutorial and its challenges using my phone only.


Last updated: Jun 16 2026 at 16:19 UTC