This video covers what you need to know to be successful while learning about the Scala programming language. This course, Scala Essential Training, is designed to be a comprehensive introduction to the Scala programming language.
- [Instructor] Before starting this course, there are a few things that you should know. This course, Scala Essential Training, is designed to be a comprehensive introduction to the Scala programming language. If you already have experience in Java or C++, this course is a great introduction to the power of adding Scala to your existing list of programming tools. This course does start from scratch, including instructions on setting up your environment, so it can be used by a beginner. But some of the concepts, such as defining Lambda expressions, et cetera, might seem a little confusing.
Therefore, if this is your first exposure to programming, I feel you would get more out of the course if you already have a general understanding of programming concepts. In this case, since Scala is so closely related to Java, I suggest starting with an introduction to Java programming. You can get that introduction by watching my course, Up and Running with Java, located here in our library, then come back to Scala Essential Training. To use Scala, we have several options. There is a Scala integrated development environment, also called an IDE.
There's a Scala build tool, called sbt, and Scala is integrated with several of the common or popular IDEs, such as Eclipse, NetBeans, IntelliJ IDEA. If you're familiar with one of these, you might choose that to practice to follow along with our course. One of the powerful features of Scala for beginning developers is the ability to run it interactively in a REPL session. REPL stands for Read, Evaluate, Print, Loop. This allows us to get used to the syntax in an interactive environment with instant feedback on both syntax and the results of our expressions.
A general knowledge of installing software and an understanding of file and folder structure on the computer is a plus, but not necessary. In this course, we will quickly dive into the Scala basics. As you will see, there's a lot of overlap with Java. The course consists of programming examples using the interactive Scala environment to help us get started with this new language. It is recommended that you plan to follow along at your own pace, frequently stopping to try out some new code introduced in this course. After we have reviewed the basics, we will move on to using an IDE.
For this course, I've chosen to use the IntelliJ IDEA for more advanced concepts in Scala.
Join Peggy Fisher as she helps get you started with Scala, so you can leverage the unique capabilities it offers. First, learn the basics of type inference, variables, loops, functions, and operators. Then, find out how to read files using a console, perform pattern matching, handle exceptions, and more. Finally, learn how to use classes, fields, methods, and objects.
- Integrating with IDEs
- Scala worksheets
- Scala repl sessions
- Type inference
- Creating variables
- Working with loops
- Higher-order functions
- Scala operators
- Working with decision statements
- Handling exceptions using try or catch
- Working with tuples and arrays
- Classes, fields, and methods