The tutorial for Roc lang is really long now. Potentially kinda overwhelmingly so. It also dives into some advanced synctaxes like record builder. Obviously, this format can work (look at the zig docs), but is there a better format that presents less per page. Potentially with a bit more interaction to help with learning one piece at a time. What we have today feels more like a dense reference than a good first tutorial. Any thoughts?
I think more links in the table of contents would be handy too, because it is a such a dense reference, so finding specific pieces in the tutorial can be tricky
Yeah, like how zig does to help deal with the density of information
I mentioned this previously... and there was a reason Richard wanted it to be all in one page
I don't recall what it was
We have discussed developing a Language Reference https://www.roc-lang.org/docs#language-reference
There is definitely content in the Tutorial that could/should be moved into a more formal reference. We haven't discussed the details though
batyoullfly said:
I think more links in the table of contents would be handy too, because it is a such a dense reference, so finding specific pieces in the tutorial can be tricky
We had a lot more links, and only recently trimmed them down to this. Maybe it was to help with the mobile view.
Potentially with a bit more interaction to help with learning one piece at a time.
I'd love to do this. Have a interactive examples in the browser for each step.
I think the goal for the Tutorial is a guided tour of the language, and the Language Reference is more like an index documenting the key concepts.
yeah I have a wip langref that I haven't turned into a PR yet
I want to get that going and then redo the tutorial to focus on building something rather than taking a lot of tangents about language features like the current one does
Last updated: Jun 16 2026 at 16:19 UTC