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