What should a beginner keep in mind while learning rust if he comes from Java,Ruby background?


#1

Hi guys,

Im new to Rust !!! and im very excited about it!!!

Since i come from a OOP Background(Java,ruby) what should i keep on mind while learning this wicked fast ,killer language? :slightly_smiling_face:


#2

I can recommend checking out the links here https://www.rust-lang.org/en-US/documentation.html and esp the second edition of the book https://doc.rust-lang.org/book/second-edition/


#3

Yeah, the second edition of the book is really good, I believe it totally pays off to spend a weekend reading it. Iโ€™d also recommend not trying to think to hard about best practices and/or learning all the fancy stuff at first.

Might I also link to these two blog posts? :slight_smile:


#4

Be wary of trying to bring along the standard ways of doing things in OOP languages. Remember to try enum+match instead of inherit+instanceof, for example.


#5

The thing that tripped me the most is that despite Rust looking OOP at some points (it has self for example), it absolutely isnโ€™t an OO language.