Re:The Resurgence of C Programming
by TheAceOfHearts on Tuesday December 27, 2016 @05:19PM
(#13266704)
I think that when people say "C is hard", what they usually mean is "writing portable bug-free code with C is hard".
[ Parent
| on HN ]
At least for some, "C is hard" translates into "pointers and their syntax are difficult to grok, especially around arrays and structs".
The other I've commonly seen is transitioning from a language that allows arbitrary data in a "string" variable. Null-terminated strings are no fun in comparison, and passing buffers around is more work.
Re:The Resurgence of C Programming
by ArkyBeagle on Tuesday December 27, 2016 @07:10PM
(#13267428)
That's because the dominant ideas about what "portable" means are pretty bad. To wit - the way the Linux kernel does it isn't my first choice...