Re:Generic dynamic array in 60 lines of C
by acmj on Tuesday February 28, 2023 @06:17PM
(#34976335)
For a library, if the user input is wrong, throw an error or an assertion failure. It shouldn't be causing an uninformative segmentation fault which your library does. The fix is a trivial. Why so defensive?
[ Parent
| on HN ]
There are no comments on this comment yet.