logoalt Hacker News

7bityesterday at 11:06 AM2 repliesview on HN

C++ added OOP to C.

Rust is not object-oriented.

That makes your statement wrong.


Replies

pjmlpyesterday at 12:51 PM

It certainly is according to the various CS definitions of type systems.

Plenty of OOP architectures can be implemented 1:1 in Rust type system.

show 3 replies
9rxyesterday at 4:22 PM

Objective-C added OOP to C. C++ did not. C++ is neither an OO language nor a C superset.