News for hackers. Stuff that matters.
Re:The best engineering interview question I've ever gotten by db48x on Monday April 18, 2022 @05:34PM (#31076884)
Yea, I would prefer an enum over an int to choose the operation, but don’t forget that this is C, where enums _are_ ints. Oh well.

Also, that it turns out there is already an enum to extend for the binary protocol, so the blog author reused that instead of making a new one just for the this one function.

There are no comments on this comment yet.