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
Skill Level Intermediate
- [Peggy] Welcome to Scala Essential Training. I'm Peggy Fisher and I'm excited to share with you the essential information for coding in this popular language which gets its name from the contraction of the words, scalable and language, Scala. Scala plays a key role in the play framework in A-K-K-A, Akka, a patchy spark in Kafka, which are not only some of the hottest tools in the market right now, but also intentionally built in Scala for it's scalability and easy integration into Java.
There's a significant trend in the industry to focus more on functional programming, namely because it is a natural fit for big data or for the increased simplicity of the codes index required in Scala. Scala naturally combines object oriented design with functional programming, since every data item in Scala is an object. Scala has been designed to interoperate seamlessly with Java. Scala classes can call Java methods and they can inherent from Java classes.
None of this requires interface definitions or patchwork code to make it work. If you're like me and you're used to Java, I think you're really going to like Scala. The syntax stresses brevity, but the concepts are analogous to Java programming. Scala started life in 2003 as a research project at EPFL in Switzerland, who'd previously worked on Java Generics in the Java compiler for Sun Microsystems. So, welcome to Scala Essential Training.