HNHacker News
TopNewBestAskShowJobs

lowq

129 karma · joined July 13, 2017

submissionscomments
lowq··on UTC Is Enough for Everyone, Right?
11/10 - xkcd had alt text
lowq··on Software compatibility and our own “User-Agent” problem
What a sad ending.
lowq··on Introduction to Hierarchical State Machines
I recently started a job where I was introduced to HSM's. The answer is, there isn't one. The resulting C reads like the entire program was written in main() and connected via glorified gotos. Every module depends on a global event queue, and event data is passed via circular dependency on effectively global state. I have never seen such basic logic so obfuscated and so distributed.

It might just be this codebase, but I do not see the appeal to HSM's. I'll stick with my standard flow control (while, for, break, return) and compose functions from other functions. It sure is nice to make calls that actually return.

← PreviousPage 2 of 2