Statically Typed

because Hindley-Milner rocks

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


Type-classes are a powerful tool for library creators and maintainers. They reduce boilerplate, open libraries to extension, and act as a compile time switch. Similarly, the GoF patterns are also … 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 · 2 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 · 5 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 · 10 Comments

Android: Dynamic and Custom Title Bars


Arguably the worst part in playing around with Android is its insistence to put that ugly title bar above everything I do as a default to my Activities.  Really, Google, was that … Continue reading

March 18, 2011 · 7 Comments
Follow

Get every new post delivered to your Inbox.