Justin du Coeur (jducoeur) wrote,
Justin du Coeur
jducoeur

Oh, lord, I'm turning into a functional programmer...

It's been a long time coming, but I'm finally beginning to grok pure FP. I'm in the process of rewriting SpaceCore (one of the most dead-central Actors in modern Querki) to make the guts of all the functions pure, pulling all the side-effects out to the edges. (Not out of any sense of righteous purity, but because I need these bloody things to be composable, and it's the best way to do it.)

And I just caught myself saying, "Ah, that class is a Semigroup; I should probably instantiate that typeclass, so that I can combine the instances".

No doubt you'll find me in some alley sometime soon, mumbling about Applicatives, Free Monads and other such Cthulhoid horrors. Have pity on me...
Tags: programming
Subscribe

  • Vote Loki

    No, really -- that's an actual 4-issue Marvel mini-series that wrapped up a couple of weeks ago, and I just got to the end of it. It more or less…

  • TRoOB: Wandering Star

    I always like to save the best for last -- piling a couple of pieces of pepperoni up on the last bite of pizza, and like that. And so I'll wrap up…

  • TRoOB: Locke & Key

    The comics industry tosses around the term "graphic novel" a lot. One thing you quickly learn is that most of these really are nothing of the sort:…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 6 comments