Description
Course info
Rating
(369)
Level
Intermediate
Updated
Jun 6, 2014
Duration
2h 1m
Description

Scala is a powerful, expressive language built on top of the JVM. This means that it can interoperate and take advantage of many existing Java APIs. It is also considered an object-functional language as it prefers the functional paradigm, but is also object-oriented. This allows for an easy transition into the functional world. Last, it is a statically typed language without the typical type ceremony, which allows for less runtime errors with minimal code. This course will teach enough of the basics of Scala to enable you to start writing less boiler-plate code and focus more on business problems. It will get you started from the ground up and quickly familiarize you with some of the most powerful features of this modern language. Topics covered include the REPL, pattern matching, for comprehensions, recursion, (im)mutability, interoperability, and much more. If you're looking for something new, exciting, and most importantly, concise, then Scala is the language for you.

About the author
About the author

Justin is a software journeyman, continuously learning and honing his skills.

More from the author
Apache Spark Fundamentals
Intermediate
4h 27m
27 Oct 2015
Patterns for Pragmatic Unit Testing
Beginner
2h 1m
26 Dec 2014
Section Introduction Transcripts
Section Introduction Transcripts

Diving for Data
Hi. This is Justin Pihony. In this module, we'll continue working on our File Searcher, completing the rest of the proposed requirements. This will require us to dig into the actual data stored in our files using the scala. io library. We'll also strengthen our search capabilities by making use of Scala's regular expression extensions, and finish up by storing our final results to file, which will once again exhibit how easy it is for Scala to interoperate with existing Java code. As an aside, you may have to run the console that you're using for sbt under ADMIN MODE, since we'll be performing more invasive file methods from this point forward.

Wrapping Up
Hi, this is Justin Pihony. In this, our final module, we'll turn our completed fileSearcher API into a runable console application, and show the simplest way to create its documentation. Afterwards, we'll get a brief introduction of the map data type and its uses. Then, we'll gain an impressive performance boost by simply marking our file list as parallel. After that we'll discuss how we can make use of Scala code within Java code. Then, to wrap up, I'll point you towards some other useful tools to expand on the Scala you've already learned here.