Is this a Nut?

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev – 1274 points –
128

You are viewing a single comment

C can STRUCTurise classes tho

Yeah, you can technically write object oriented code in C. Or any other language. Just that actual OOP languages provide a nicer syntax and compile time checks.

Rust is kind of a good example of this. It's technically not an object oriented language, but the trait system brings it close.

But, why?

most C programs are just C++ programs with extra steps if you look at them close enough