Somewhere around a year ago I started working on a Kotlin programming book, but then I had to get away from it to work on other things. When I got back to it recently I looked around and felt like the world didn’t need another “Introduction to Kotlin” book — there are a couple of good ones out there, including Kotlin in Action, and the kotlinlang.org documentation is excellent — so I decided to ditch the project completely.
I’m pleased to announce that my book, Hello, Scala, is now available in three formats:
As the subtitle of the book shows, the purpose of this book is to help you learn the Scala programming language with small, easy lessons. The book consists of a little over 50 lessons, and it’s 258 pages long.
A new Kindle version of my book, Hello, Scala, is now available. This update includes new chapters, new content within chapters, and small corrections to the previous version.
FYI: The price of the “Hello, Scala” Kindle ebook will be going up to $9.99 on March 1, 2018.
I wrote the Scala Cookbook for programmers looking for solutions to common Scala problems, and then wrote Functional Programming, Simplified for programmers looking for a simple way to learn functional programming. A few months ago I decided to finish my Scala trilogy and write a book for programmers who don’t know Scala and want a quick introduction to it. With that, Hello, Scala was born:
I don’t remember exactly why I wrote this Scala shell script, but if I remember right I was having a problem getting
sed to work properly, so I wrote this little script to insert an Amazon Kindle “break” tag before each
<h1> tag in an HTML file:
“Functional Programming, Simplified” is currently $15 on Amazon. Get it while you can, the price goes back up to $30 Monday night (October 23, 2017).
I’m putting this Scala shell script out here as a “source code snippet” so I can find it again if I need it. This file reads an input file that contains a series of HTML
<h1> tags. I use this as part of a process of publishing an Amazon Kindle ebook from an HTML file, and in one of the steps of the creation process, I use this script to help create the Table of Contents (TOC) for the book.
Here’s the source code: