For over a full year now, I’ve been looking into Scala. I have heard many people talk about it passionately and it just got me interested. Also a lot of big companies are investing in this new language. I just figured I had to check it out. In my 4 years of Java programming, I’ve learned the Java EE stack, ...
Read More »Home » JVM Languages »
Scala for 2012? Deciding Whether to Invest In a Programming Language
I have found it both interesting and rewarding to learn a new programming language or major framework on a roughly yearly basis. If forced to self-identify with any single programming language, it would be Java. However, over the years, I’ve used C and C++ fairly extensively and have used and learned enough to be dangerous about several other languages including ...
Read More »Scala’s version fragility make the Enterprise argument near impossible
I have been working with Scala for more than five years. In those five years, I’ve seen Scala evolve and seen the ecosystem and community evolve. An attribute of Scala is that the Scala compiler generates fragile byte-code. This means that all the code in an executable (JAR or WAR) must be compiled with the same library and compiler versions. ...
Read More »Scala Tutorial – code blocks, coding style, closures, scala documentation project
Preface This is part 12 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. This post isn’t so ...
Read More »Scala Tutorial – SBT, scalabha, packages, build systems
Preface This is part 11 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. This tutorial gives ...
Read More »Scala Tutorial – scripting, compiling, main methods, return values of functions
Preface This is part 10 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. The tutorials up ...
Read More »Scala Tutorial – objects, classes, inheritance, traits, Lists with multiple related types, apply
Preface This is part 9 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. This tutorial is about ...
Read More »DI in Scala: Cake Pattern pros & cons
I’ve been looking at alternatives for java-style DI and DI containers which would use pure Scala; a promising candidate is the Cake Pattern (see my earlier blog post for information on how the Cake Pattern works). FP enthusiast also claim that they don’t need any DI frameworks, as higher-order functions are enough. Recently Debasish Ghosh also blogged on a similar ...
Read More »Scala Tutorial – scala.io.Source, accessing files, flatMap, mutable Maps
Preface This is part 8 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. This tutorial is ...
Read More »