Statically Typed

because Hindley-Milner rocks

Scala: Predicate Composition with Lens-Like Structures


I’ve been playing around with a few ideas on how to apply a lens-like construct on arbitrary Scala collections that also combines the power of predicate composition as opposed to … Continue reading

January 20, 2014 · Leave a comment

Gang of Four Patterns With Type-Classes and Implicits in Scala (Part 2)


edit: I’m really not happy about how this blog post turned out. There’s something important in there that’s muddled and unclear but has to do with dependency inversion and the … Continue reading

March 24, 2013 · Leave a comment

Gang of Four Patterns With Type-Classes and Implicits in Scala


Type-classes, as they’re known within the Scala language, have a wonderful place in library development. They make code open to extension, less verbose and simplify APIs. I’ve yet to find many … Continue reading

March 9, 2013 · 2 Comments

Squealer: An Anti-ORM Influenced Scala Tool for Working with Relational DB


I was reading a blog post from Prismatic the other day and it got me thinking about how we, as programmers, have diverged so much from our roots. In the … Continue reading

April 28, 2012 · 8 Comments

Scala: Working with Predicates


I love me some Scala.  Actually, since it’s now my day job, I love it all the time.  It combines the short, expressiveness that I prized in Python with a … Continue reading

January 29, 2012 · 2 Comments

Scala: The Million Trait March…


Traits are arguably one of the nicest things about Scala.  Doubly so to anyone who has had to deal with the strict OO-rigidity imposed by Java.  Component driven, loosely coupled … Continue reading

September 25, 2011 · Leave a comment

Android: Libraries you should be using


Anything and everything that makes life easier to develop for Android should be looked into.  There are a couple of libraries that make testing easier, increase the modularity of your … Continue reading

June 4, 2011 · 1 Comment

C++: Structs vs. Tuples, or Why I like Tuples More


An interesting question was asked on StackOverflow the other day regarding Tuples and C-style structs.  I answered as best I could but I neither had time to expand upon it … Continue reading

May 7, 2011 · 3 Comments

Android: How can you Implement a Custom Menu Class?


Android provides decent functionality for instantiating your own run of the mill Menu within the standard framework.  They even have a half decent guide on using them within your applications. … Continue reading

May 5, 2011 · 6 Comments

Android: Custom XML attributes and views


I’ve tried to follow the Google Android tutorials and documentation when it comes to creating your own custom views but… it’s lacking.  Thankfully the internet is full of information.  Here’s … Continue reading

April 16, 2011 · 11 Comments