Functional Programming in Scala

Lots stuff going on these days. I mainly finished the spring cycle of work on the cars, washing and waxing and getting ‘em into the shop for routine maintenance. The only thing remaining is to get the Mustang in for an oil change and the fluids topped off. Also started mowing the lawn a week ago. All our flowers are doing really nicely and the trees are all a-blossoming. The weather has been getting up into the 70’s fairly consistently, although we’ve had our share of rainy days. Ah, spring at last.

I’ve been taking a Scala course from Coursera, taught by Martin Odersky, the language’s inventor. This is after having read a Scala book over the last few months. It’s in the second week of the class now and it’s pretty intense. The lectures and books are easy enough to understand, and in fact very illuminating and even deep. But when it comes time to the assignments it feels like starting over, between the overhead of getting set up, the strong functional programming paradigm, and the language’s wacky syntax. It’s more than just learning a new language, it’s a new way of thinking. I did some Lisp in the 90’s but now I have to unlearn all my Java knowledge. Right now the focus is on using recursive functions in place of loops. Hopefully I’m far enough the learning curve that it should get easier soon. Either that or my Java code will start getting confused.

Leave a Reply