Skip to main content

Timeline for Doubly Linked List of integers

Current License: CC BY-SA 4.0

4 events
when toggle format what by license comment
Feb 22, 2023 at 8:06 comment added Toby Speight The only functions in standard library that return -1 on failure can return a range of non-negative values on success. I recommend true/false if you find that more readable, as I do. (Remember that <stdbool.h> wasn't around for most of the standard library's existence, so it can be excused!)
Feb 21, 2023 at 20:29 comment added whiteman808 I used -1/0 to be consistent with stdlib but true/false is more readable for me. Should I suggest that stdlib things use -1/0 or use true/false?
Feb 21, 2023 at 20:20 comment added whiteman808 Is it a good idea to use CMocka for unit tests? Should I use an external library or roll own my tool for unit tests?
Feb 21, 2023 at 8:54 history answered Toby Speight CC BY-SA 4.0