1. 40

  2. 7

    Just run:

    curl -L https://git.io/rustlings | bash

    Oh boy, no? And please stop suggesting people to pipe random strings from the Internet into their shell.

    (Doesn’t mean anything about the quality of the exercises. They look quite fun.)

    1. 8

      You can’t really compromise on ease of installation, as we’ve found out during workshops. If you’re sceptical, you can always inspect the script or do the steps manually.

    2. 4

      This is similar to the “koans” exercises you can find for a few other progrmming languages, right? It’d be nice to have a central list of them all.

      1. 2

        AFAIK there’s no explicit “koans” for Rust, but this is the closest thing I could find to a list of katas/koans: https://github.com/gamontal/awesome-katas

        1. 4

          Exercism has “koans” for many languages, including Rust: https://exercism.io/tracks/rust

          I used it a few years ago when starting with Ruby, and then again a few years later when starting with Go. Was pretty useful both times. Didn’t do the Rust ones so can’t attest to the quality of that (or compare it to your website).

          One of the things I liked is that people can review your code, and in my experience some actually did and caught out some things I could have done better in some cases.

          1. 3

            Ah, right! Exercism is a good resource, and we used to run with it in workshops. Unfortunately, a lot of their exercises were quite math-based, which is why we also started offering Rustlings :)

            1. 2

              Exercism for Rust currently has the serious problem that we have many maintainers, but also far too many things to review.

        2. 2

          This is how I started Rust a while ago. Great resource :-)

          1. 1

            That is a really excellent gif in the readme.