3 ms·
Good stuff. Could use some asserts and checks for NULL here and there, but overall it's a nicely organized C code (and with proper bracing and indentation style
by huhtenberg 7y ago
Good stuff. Could use some asserts and checks for NULL here and there, but overall it's a nicely organized C code (and with proper bracing and indentation style :)). Always a pleasure to read through something like this.
- edoo 7y agoActually it has the wrong indentation style. Should be tabs left spaces right. I run tab width of 3 in my editors. To each their own, if you use tabs left of course.
- saagarjha 7y ago> I run tab width of 3 in my editors. That’s certainly a strange choice, but you do you I guess…
- jhare 7y agoWell then you're also "wrong" for 3 spaces. Student project, and spaces/tabs argument is for teenagers. edit: root comment here is mentioning NULL checks and actually being helpful
- deleted 7y ago[deleted]