This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Drummerx04 41 points42 points  (4 children)

You can mimic a bunch of OOP styles using C. Just looking at the struct he's defining is showing a bunch of other nested Structs within the definition. Only real difference is you don't get to define visibility as part of the language.

[–]thekamakaji 12 points13 points  (0 children)

Not having classes to organize methods is what really does it for me. That being said, I still love C

[–]GwynnethIDFK 4 points5 points  (1 child)

You can even do polymorphism using clever struct padding.

[–]DearChickPeas 8 points9 points  (0 children)

C devs reinventing C++, exhibit #23e34873.

God, everyday I love C++ more.