Feedback on examples given in learning exercise "Robot Revolution"

I just finished “Robot Revolution” on the Julia learning track, tasks 2-4 use in their examples the line
orientmatrix = initialize([[-1,1],[1,0],[-1,-1]]);

I spent quite a bit of time trying to figure out what the function initialize() is, suspecting some builtin function, a way to construct a matrix from a vector or something like that - it was only at the end after muddling through 2 and 3 with quite a bit of trial and error and ignoring the example in favour of the test data I realized it is supposed to be the orientrobot() function defined in exercise 1. I believe changing that initialize() to orientrobot() in the example would make the exercise a lot easier to understand.

2 Likes

Fixed in PR #1187.

Apologies for the confusion!

1 Like

Thanks for catching that! It looks like a name change that didn’t get propagated to the final version of the instructions.

Thank you for the quick fix and the great learning track!