DEV Community

Discussion on: When you want to learn C in 2019

Collapse
 
martinhaeusler profile image
Martin Häusler • Edited

C has an utterly needless amount of pitfalls. You hit the nail on the head: C is actively working against you. The compiler, the syntax, the (non-present) package system, the platform dependency... from a language perspective, C by all means and purposes should have died 15 years ago and replaced with something sane. At least a proper type system certainly wouldn't have been too much to ask!

It's not about pointer arithmetics and bitwise operations and manual memory management - there are plenty of valid use cases where you need to have that and can't do without, I get that. It's the language itself and it's tooling and "ecosystem" (or rather: the lack thereof) that somehow, some way inexplicably is still alive.

Don't get me wrong: every programmer should know the concepts of C. But the language itself (syntax, type system, compiler, tooling, package management...) is outdated and needs to be replaced, desperately. Why this hasn't occurred yet is beyond me.