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
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
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
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
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
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
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
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
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