For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | maxpersson's commentsregister

Pied Piper :)


To prevent confusion and to stay consistent with my nick, I suggest: "Piper pied"


The toolkit is gaining some attention, thanks guys!


That would be disastrous. I hope the opposite happens, otherwise file an issue!


Thanks for adding the link, it is quite a letter combination. :)


That looks really cool, awesome to be able to generate static FSM code. I use my FSM (and started to use Jake Gordon's) when I need a lightweight state variable, a step up from a collection of bools when it starts to get messy with lots of ands and ors.


Thanks for the feedback! It's a good suggestion, and having something else than strings as events is something that I have analyzed. Currently different handlers depends on string operations as selectors, for example "before_<event>". Any ideas on how to move that to the static type world (preferably without using the reflect package)?


I wouldn't say it's a fair comparison on the amount of code as no exception handling at all was done in Python, where several ifs where used in Go...


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

Search:

HN For You