Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"is there a reason to make a class and wrap some things? If so, you can do that in C++. You can't in C."

Yes, you can. Object orientation is a property of the program, not the programming language. Pretty much every time I crack open C now, I'm writing Object-Oriented C.

(Also, immutability is a property of the program, not the programming language. Etc.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: