News for hackers. Stuff that matters.
Re:Show HN: A simple Unix-like operating system that runs Doom by mruts on Saturday September 07, 2019 @10:54AM (#20904085)
Nice work! But one question, what’s up with the naming scheme? Some functions are camel case, other are not. It seems like variables are camel case, but not all of them. And types are whatever it’s called when you capitalize each word, but some have underscores. What’s the reasoning?
Re:Show HN: A simple Unix-like operating system that runs Doom by ozkl on Saturday September 07, 2019 @11:43AM (#20904464)
Thanks! In fact, I prefer camel case for functions. You must be saying this for HashTable and List functions. I came from C++ world (where i name classes Pascal case and functions camel case). I wanted to group HashTable functions together like a class and named them that way. Yeah, it ended up being inconsistent unfortunately. I named structs in PascalCase.