My advice on implementing stuff in C:
My advice on implementing stuff in C:
Posted Oct 15, 2010 23:03 UTC (Fri) by HelloWorld (guest, #56129)In reply to: My advice on implementing stuff in C: by cmccabe
Parent article: Russell: On C Library Implementation
If people could just accept that different programming languages are good for different things, 99% of these discussions would be over before they began.
I do accept that different languages are good at different things, I just happen to think that C is bad even at what it's supposed to be good at. There is no support for generic programming (read: type-safe container classes). The type system is generally a mess, as early C didn't have a cast operator and therefore needed all kinds of crazy implicit conversions. There is no module system. The preprocessor is a sucky workaround used to emulate features that ought to be in the language proper (genericity and modules), and it makes it much harder to build good tools for the C language.
None of the above conflict with the language being a systems programming language, so that's not an excuse for C sucking as hard as it does.
