Scala as Concise Java

NFJS, the Magazine - June 2009

Scala is a hybrid functional, object-oriented programming language on the JVM. In my recent book "Programming Scala: Tackle Multicore Complexity on the JVM," I discuss quite a few aspects of Scala that make it a very attractive language to program the JVM: conciseness, expressiveness, power of pattern matching, scalability, and actor based concurrency model. In this article, I will focus on the first aspect—conciseness. You will find that Scala is a lot more concise than Java to carryout your everyday coding tasks. Through a series of examples, you will learn how in this article.

An online version of this article is not available. This article is available in PDF, MOBI, and EPUB to those who have subscribed.

About Venkat Subramaniam

Venkat Subramaniam

Founder of Agile Developer, Inc.

Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., creator of, and an instructional professor at the University of Houston.

He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with sustainable agile practices on their software projects.

Venkat is a (co)author of multiple technical books, including the 2007 Jolt Productivity award winning book Practices of an Agile Developer. You can find a list of his books at You can reach him by email at or on twitter at @venkat_s.

NFJS, the Magazine - June 2009

NFJS the Magazine - June 2009

In this Issue: