Tag Archives: scala

Get 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 the JVM do have … Continue reading

Posted in tech | Tagged , , , , , | 3 Comments

99 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 (obviously). Sometimes, my solution is … Continue reading

Posted in java | Tagged , , , | 1 Comment

Procedural 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 to get a handle on. I was … Continue reading

Posted in java | Tagged , , , , | 7 Comments

Unmotivated

As you can probably tell, I haven’t been motivated to write anything in well over a month. I don’t know why, but that’s what’s happened. I didn’t finish my Lenten project, though I am still occasionally working on it. I … Continue reading

Posted in general | Tagged , , ,

Slides 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 audience, and they laughed at … Continue reading

Posted in java | Tagged , | 1 Comment

What the Heck Is a Tuple, Anyway?

Yesterday I was talking with a friend about Scala and the subject of tuples came up. We both had a bit of a laugh that neither of us was sure how to pronounce it, though we both leaned toward TUH-ple … Continue reading

Posted in java | Tagged , | 2 Comments

2 Solutions To Project Euler Problem #1

In an effort to not go a whole month without blogging, and in the interest of posting some code samples, I give you two solutions to Project Euler: Problem #1. If you’ve never heard of it, Project Euler (pronounced “oiler” … Continue reading

Posted in java | Tagged , , | 1 Comment

I’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 … Continue reading

Posted in java | Tagged , , , | 4 Comments

Scala’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 them frequently. Perl was the … Continue reading

Posted in java | Tagged , , | 5 Comments

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: As Mads Andersen pointed out, in … Continue reading

Posted in java | Tagged , , | 7 Comments