3 ms·
I could not disagree more strongly with this. Most of the Python and Ruby developers I know are not comfortable writing C code. More importantly, there's noth
by tptacek 9y ago
I could not disagree more strongly with this.
Most of the Python and Ruby developers I know are not comfortable writing C code.
More importantly, there's nothing in the world more dangerous than someone who knows just enough to get something working in C.
C is a harder language to learn than Ruby, Python, or Javascript. Unlike any of those languages, to write in C you have to constantly keep object life cycles, memory hierarchy, and memory layout in mind. Most of the standard libraries of Python or Ruby --- even simple string manipulation --- are idiomatically written and rewritten by hand in C. Even experienced C programmers forget, routinely and to calamitous affect, how machine integers work.
Writing something in C reduces the number of programmers who can contribute to a project.
And that reduction is going to get worse and worse over time. When I started my career, if you were going to ship code to clients, C was the industry standard way to accomplish that. A giant chunk of all working programmers used C as their daily language. Today, only a small minority of programmers will ever once write a production C module.