Hacker News new | ask | show | jobs
by huhtenberg 2268 days 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.
1 comments

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…