Surfing the ReferencePipeline in Java 8

Java 8 includes new a Stream Processing API. At its core is the ReferencePipeline class which gives us a DSL for working with Streams in a functional style. You can get an instance of a ReferencePipeline flowing with a single expression. The MapReduce DSL has the essential set of list processing operations such as querying,Continue reading “Surfing the ReferencePipeline in Java 8”

Hacking C#’s Lambda Expressions Into Hash Rockets

As I move between C# and Ruby, I have found my brain’s internal syntax parser always needing to switch gears and repurpose its understanding of Fat Arrow, =>. In Ruby, it provides a visually salient means of expressing key => value pairing within a Hash. C# on the other hand uses it to indicate theContinue reading “Hacking C#’s Lambda Expressions Into Hash Rockets”