News for hackers. Stuff that matters.
Re:Introducing Rust Language Server by pjmlp on Wednesday October 19, 2016 @05:31AM (#12742348)
Regarding pointers, I think a good way would be to teach them both visually and without many C style tricks.

C style pointer tricks are better left for level two, so to speak.

Probably a good approach teach Rust's OO way is to introduce traits as kind of extensible modules that can be composed and go from there.

It is not 100% correct, but I guess it is easier to teach than going full theory with traits being a kind of type classes and do on.

There are no comments on this comment yet.