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
[ Parent
| on HN ]
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]