News for hackers. Stuff that matters.
Re:Banned C standard library functions in Git source code by bhk on Sunday August 25, 2019 @11:58AM (#20793645)
If every C programmer knew, then there would be no need to ban them
Re:Banned C standard library functions in Git source code by Dylan16807 on Sunday August 25, 2019 @03:14PM (#20794883)
That's not true. People don't staunchly avoid situations that have pointless sharp edges. Putting up caution tape, despite everyone being aware of the danger, is very often a useful activity.
Re:Banned C standard library functions in Git source code by asveikau on Sunday August 25, 2019 @12:36PM (#20793880)
I actually wonder why they do it.

Linkers already warn for this stuff. Doing it this way requires every source file to include banned.h, which I would guess is done by including it from some other common header, but that's not fool proof either.

[dead]
Re:Banned C standard library functions in Git source code by bhk on Sunday August 25, 2019 @01:37PM (#20794277)
Re:Banned C standard library functions in Git source code by ncmncm on Wednesday August 28, 2019 @12:34AM (#20816810)
Does not apply. Nobody is born with C skills.

Competence can be measured objectively. Failure to understand array bounds is prima facie evidence of lack.