News for hackers. Stuff that matters.

amsaarin

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!
Re:The mismatch between OO design and function composition on Saturday November 24, 2012 @01:07PM (#4825912)
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?

Re:Functional Finite-state Machines using Akka on Tuesday May 15, 2012 @10:06AM (#3976593)
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...
Re:State Machines on Tuesday May 15, 2012 @10:02AM (#3976577)
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

Nothing too fancy, but makes my own Google Reader experience a lot better.