3 ms·
C is indeed simple.
by spookie 1y ago
C is indeed simple.
- Rochus 1y agoUntil you reach the many dark corners of the syntax.
- xigoi 1y agoThe C standard has about 700 pages.
- growlNark 1y agoSure, but what are you comparing it against? C is certainly more straightforward to internalize than the semantics of C++, or Python. Many of the corners of C understanding come with inherently abstruse backgrounds: say, accessing fenced memory with an aliased value in-scope, or in getting the particulars of expected memory-layout right for a given ABI. None of this actually impacts most daily development. Hell, the impact of using zero-terminated strings is far greater of an issue than poor-specification of the language is. You have to deal with this problem; POSIX decided to bake it in to its core. Pointer mismanagement is a generally difficult problem, but C decided to actively cook-in hard-to-manage-strings.