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

JS is a bad example because people who do that are preferring inheritance to composition, which is absurd.

In the case of C, yes you can do that, and where performance is critical you might prefer to do it, but it's obviously not going to be your first choice if you have any sense.



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

Search: