Hacker News new | ask | show | jobs
by insanitybit 958 days ago
> Rust has its own flavour of OOP, only data inheritance isn't part of the picture.

I think it's fair to say that Rust is a lot less 'OOP' than C++. There is no concept of 'protected', traits are separate from structs, there's no data inheritance, there's no 'isinstance', dynamic dispatch is explicitly behind 'dyn' keyword, etc.

> Additionally macro system as powerful as Common Lisp,

It's not like the Linux kernel doesn't make use of C's macros.

1 comments

There is no "less" or "more" OOP as per CS definition.

Plain textual text replacement isn't the same as a proper macro system.