Scala Gets Operator Overloading Right
02/20/2010 Update: I took this blog post and turned it into a presentation to the Atlanta Scala User Group, which I gave in January 2010. The slides from that presentation are here. 05/31/2009 Update:...
View ArticleAnnouncing JUnitLaunchFixer Eclipse Plugin
My friend Chris and I both work for the same company. Our product has around 900 JUnit tests, and for some of them, the default heap size that Eclipse runs JUnit tests with has become too small. You...
View ArticleScala’s Nice Regex Class
I’m a big fan of regular expressions, because they let you parse text in very concise, and sometimes complicated, ways. Though I agree with jwz about regular expressions in lots of cases, I still use...
View ArticleBogus Search Results From Sys-Con
Updated! Be sure to scroll down for the latest! I’m writing a blog post dealing with Scala’s XML literal syntax and how to use it for object de/serialization and so I wanted to get a list of existing...
View ArticleI’m Liking Scala’s XML Literals
How many times have you written a class that you needed to save and restore to/from XML? How did you do it? There are libraries that will do this for you, but I don’t know if any of them have taken the...
View ArticleSlides From My Presentation on Operator Overloading In Scala
Last night I spoke at the Atlanta Scala Enthusiats meeting about operator overloading and a little on implicit conversions. I think the talk went well as I got lots of really good questions from the...
View ArticleProcedural vs. Functional
With the rise of Scala and Clojure, there’s been a lot of talk lately about procedural vs. functional styles of coding. Most developers are accustomed to procedural coding, and functional can be hard...
View Article99 Scala Problems #28 – I Like My Solution Better
I’ve been working through this list of 99 Scala Problems, which is modeled after this list of 99 Prolog Problems. As I’ve been going through them, I have been comparing my solutions to those provided...
View ArticleJUnitLaunchFixer 1.0.4 Released
I’ve just released a new version of my Eclipse plugin called JUnitLaunchFixer. If you’ve never heard of it, it lets you set the default heap size for new debug launchers in Eclipse. You can read more...
View ArticleOnce More, This Time With Clojure
If you happened to read my post from the other day entitled My New “Top Artists Last 7 Days” Widget, you know that I went through three iterations of getting it going. The final solution, written in...
View ArticleGet a REPL On Your Current Java Project
I like to test things out interactively, so I love working with languages that provide a REPL. I’m currently working on a Java project, but Java doesn’t have a REPL. Several languages built on top of...
View ArticleLoLClojure – Land of Lisp In Clojure
I read Conrad Barski’s excellent book Land of Lisp a couple of years ago, and worked through all the examples using CLisp, but I thought it might be fun to go through it again, but use Clojure instead....
View ArticleLoLClojure – Locals
Just like in Lisp, Clojure uses let to define locals. The only real difference is that Clojure uses a vector of names and their bindings, whereas Lisp uses a nested list. This Lisp code (let ((a 5) (b...
View ArticleLoLClojure – Chapter 3
Chapter three of Land of Lisp is all about Lisp syntax. This post will be sort of scattered as far as content goes, since the chapter covered a lot. Many things are the same in Clojure, but there are...
View ArticleLoLClojure – Chapter 3, Continued
I didn’t intend to wait a month between installments, but here we are. When we left off, we were discussing a couple of implementation os exponentiation, and how to print things out. We made it up to...
View Article