scala

Tutorials about the Scala programming language.

Functional Programming, Simplified: #1 New Release alvin December 12, 2017 - 9:05am

Amazon shows that Functional Programming, Simplified is a #1 New Release in its category. That’s cool.

Functional Programming, Simplified (Print, PDF, and Kindle) alvin December 11, 2017 - 6:14am

December 10, 2017: I’m glad to announce that the final version of my new book, Functional Programming, Simplified is now available in three formats:

Functional Programming, Simplified book cover
Updates for “Functional Programming, Simplified” alvin December 8, 2017 - 10:55am

This page will contain updates for my book, Functional Programming, Simplified. As I find good, new resources, and as I create new projects to demonstrate functional programming techniques, I’ll share those here.

 

 

Third proof of Functional Programming, Simplified alvin December 7, 2017 - 5:08pm

I like the cover so much, I’m now up to three copies of Functional Programming, Simplified.

A little more seriously, I’ll be reviewing the third proof tonight. If all goes well, the book will be available on Amazon.com this weekend.

The Pants build system alvin December 7, 2017 - 11:11am

I haven’t tried it yet, but Pants is a build system that supports Scala and Java projects (and other languages).

Functional Programming, Simplified: Print version, coming soon alvin December 4, 2017 - 11:40am

This is the second proof of the print/paperback version of Functional Programming, Simplified. It should be ready for release by December 10, 2017.

The beginning of a Scala “FileUtils” class

In production code I recommend that you use a good “Files” library like Apache Commons IO, but if you want to create your own Scala FileUtils class, here’s some source code that can help you get started.

First, here’s some code for the FileUtils class (an object, technically):

What’s wrong with SBT? alvin November 20, 2017 - 7:09am

Li Haoyi wrote an article, What’s wrong with SBT?, where he discusses (in detail) some of the problems of SBT.