Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Actually 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.


Well 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


> I run tab width of 3 in my editors.

That’s certainly a strange choice, but you do you I guess…




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: