JVM Languages
-
Complex Numbers in Scala
Overview I recently delivered an introductory talk about Scala at an internal geek’s event at SAP. In this talk, I…
Read More » -
Using twitter4j with Scala to access streaming tweets
Introduction My previous post provided a walk-through for using the Twitter streaming API from the command line, but tweets can…
Read More » -
Groovy and HTTP
This article originally appeared in the December 2012 issue of GroovyMag. Some different ways that Groovy makes interacting with the…
Read More » -
Scala pattern matching: A Case for new thinking?
The 16th President of the United States. Abraham Lincoln once said: ‘As our case is new we must think and…
Read More » -
Dry parameter names
How often do you see code like this, especially when using dependency injection, single-responsibility principle, and other “good practices”? …
Read More » -
Scala: Collections 1
This post contains some info on Scala’s collections. Problem? We want a function that will take an List of Rugby…
Read More » -
Structural (or) Type Safe Duck Typing in Scala
Structural typing as defined by Wikipedia “A structural type system (or property-based type system) is a major classof type system,…
Read More » -
Probability distribution for programmers
This is one of these very simple programming puzzles I came across recently: given a function returning random integers from…
Read More » -
The Lazy Developer’s Way to an Up-To-Date Libraries List
Last time I shared some tips on how to use libraries well. I now want to delve deeper into one…
Read More »