LWN.net Logo

Why use C?

Why use C?

Posted Jun 29, 2012 22:10 UTC (Fri) by daniel (subscriber, #3181)
In reply to: Why use C? by etienne
Parent article: Why learn C? (O'Reilly Radar)

"you do not want your class to do a memory access without being sure that the right memory segment is mapped - and C++ may hide some access."

C++ does not have a monopoly on hiding memory accesses, or bugs for that matter. I have even heard of such things cropping up in C code, in the kernel even. Improved programming discipline usually seems to be the cure.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds