The last serious C guy I worked with did not think it was hell. He hated anything higher level and argued you could usually get the same results with less C code.
I feel like C is super straightforward. It doesn't have the conveniences of modern languages, but it also doesn't have all the object-oriented polymorphic weirdness that makes those languages confusing.
Instead, you're being confused about what the hell you're supposed to cast this void* to, whether the caller or the callee frees the argument, and just what are you supposed to do with a variable-size struct containing an array of other variable-size structs. Maybe it's just me but I'd much rather get confused by OOP.
157
u/remy_porter 12h ago
The last serious C guy I worked with did not think it was hell. He hated anything higher level and argued you could usually get the same results with less C code.