Better HN
topnewbestaskshowjobs
Log inSign up

maxpersson

39 karma · joined Jul 11, 2014 (12y ago) · 10 submissions

Full stack software engineer and owner of Looplab AB (www.looplab.se).
Submissions

comment 11y ago · link · parent

Pied Piper :)

comment 12y ago · link · parent

The toolkit is gaining some attention, thanks guys!

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

5.

Show HN: Event Horizon – CQRS/ES Toolkit for Go(github.com ↗)

40 points · by maxpersson · 12y ago · 5 comments

6.

An illustrated story about life in Swift(gist.github.com ↗)

2 points · by maxpersson · 12y ago · discuss

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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)?

9.

Show HN: Finite State Machine for Go(github.com ↗)

6 points · by maxpersson · 12y ago · 4 comments

comment 12y ago · link · parent

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...