Monthly Archives: May 2013

String not fully-qualified in typeOf in Scala? Unlike Int and Integer

With the recent release of Scala 2.11.0-M3 I’ve played with typeOf a bit. $ scala Welcome to Scala version 2.11.0-M3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_21). Type in expressions to have them evaluated. Type :help for more information. scala> import scala.reflect.runtime.universe._ import scala.reflect.runtime.universe._ scala> typeOf res3: reflect.runtime.universe.Type = Nothing scala> typeOf[Any] res4: reflect.runtime.universe.Type = […]

Languages Tagged Leave a comment

Introduction to Web Application Development in Clojure at JEEConf in Kiev, Ukraine

The slides from my presentation about web application development in Clojure (with Ring, Compojure and Enlive) at JEEConf in Kiev, Ukraine are now available at Slideshare and awaiting your comments. The presentation from the first day of the conference about functional programming in Scala is available on Slideshare, too and I would appreciate if you […]

Languages Tagged 5 Comments

Introduction to functional programming in Scala at JEEConf in Kiev, Ukraine

The slides from my presentation about functional programming in Scala at JEEConf in Kiev, Ukraine are uploaded to Slideshare and awaiting your comments.

Languages Tagged 3 Comments

Yay! Got 10 out of 10 in Week 6: Collections in Scala course at Coursera

Thank you, thank you, Coursera, Martin Odersky and his team, Michał, Thomas, and whoever has helped me to learn so much and at long last sorted the assignment out! I could score 10 out of 10 in Week 6: Collections in the course Functional Programming Principles in Scala at Coursera. I can finally go to […]

Languages Tagged Leave a comment

If in Scala, pattern matching might not always be elegant

I like simple solutions and I usually very easily adapt behaviors that reflect similar approach. I quickly learnt pattern matching as a way to destructure collections and sequences in Scala. So quickly that I almost forgot about the plain old if expression. Too bad, Jacek! I’ve just noticed that once I got used to pattern […]

Languages Tagged 11 Comments