HNHacker News
TopNewBestAskShowJobs

amsaarin

26 karma · joined March 15, 2011

Software developer with affection for elegant yet practical solutions.
submissionscomments
amsaarin··on Win $10,000 by creating a race car bot in haskell, scala or clojure
Rules changed. Teams choose which country they represent, and one member needs to be a citizen of this country, but others can be from anywhere. Yay!
amsaarin··on The mismatch between OO design and function composition
Author of the blog post here.

I think interfacing functional code from object-oriented code is usually pretty easy. You just wrap the functions to an object instance.

However, if your 'outer layer' is functional, and try to integrate OO pieces inside it, it can be troublesome to to wrap your OO code in such a way that it's natural to use in a functional context.

OO paradigm is in some sense more restricting, in that it limits the client of the code to using OO-like patterns.

Does this make any sense to you?

amsaarin··on Functional Finite-state Machines using Akka
On a related note, this recently trended article does a good job of explaining what state machines are: http://blog.markwshead.com/869/state-machines-computer-scien...
amsaarin··on State Machines
An clean way to implement finite-state machines is Akka FSM [1]. I recently wrote a blog post about it: http://news.ycombinator.com/item?id=3976558

[1] http://doc.akka.io/docs/akka/snapshot/scala/fsm.html

amsaarin··on CleanReader: A chrome extension for a more usable Google Reader
Nothing too fancy, but makes my own Google Reader experience a lot better.