by Philipp__ · 8y ago · 0 comments
In highschool we had group project. Writing simple tcp/ip protocol in C. Holy shit did I see some awfull things... maybe writing C is not the bad thing about it. But maintaining could be.
Simple example, you can read string from simple data file on 6,7 different ways. Yet their effects and behaviors differ severely. Not everyone knows difference in parameters and returns in scanf, fgets and gets...
edit: typing on the phone, sorry
I have yet to see a single, non-trivial C program that does not have many dangerous bugs related to language unsafety.
If these mythical good C programmers exist, they certainly have never released any of their source code.