DEV Community

Discussion on: First Week learning rust

Collapse
 
lexiebkm profile image
Alexander B.K.

It is interesting how Rust implements OOP, specifically how it defines a method. Now it reminds me of Go, being a non-OOP language, how it defines a method using a receiver argument which can be a pointer.
Rust is not a fully OOP or even not OOP when using certain definition, unlike C++, Java or C# which are fully OOP. But I like when it provides Struct that we have known in C/C++ and also find in Go. And it provides pointer and smart pointer too. This is why I think, if I have time, I can learn Rust, Go and C++ (relearn) in the same week. :)