filmov
tv
Objects and Companions in Scala | Rock the JVM

Показать описание
This is a beginner-level video. If you're learning Scala and its distinguishing feature, this video is for you.
In this video we'll explore Scala objects, which implement the singleton pattern in a single line of code. We look at how Scala classes and objects can work together to form companions, and what's the best practice for structuring your code in between classes and their companion objects in Scala. We also discuss some nuance about the type difference between classes and objects.
Follow Rock the JVM on:
-------------------------------------------------------------------------
-------------------------------------------------------------------------
Objects and Companions in Scala | Rock the JVM
Scala - Companion Objects
Objects and Companion Objects in Scala
companion object in Scala
Scala Companion Object
Fields in Scala Companion Object
Scala Tutorials - Day 17 | Scala Companion Object
Understand concepts of Singleton object, Companion object and Companion Class # Scala Tutorial - 12
Scala Tutorial - Companion Objects
Scala Companion objects and Case Classes
object Declarations and Companion Objects (in Scala)
Understanding the Distinction Between Case Class and its Companion Object in Scala
Scala object Declarations: Companion Objects
Scala object Declarations Companion Objects
Class and Object in Scala Tutorial
Companion Objects in Scala v7
Objects and Methods (in Scala)
Objects and Methods (Scala Basics)
List of Complex Objects in Scala
Scala and Spark Live Training - 05 - Companion objects and case classes
Scala - Classes and Objects
Scala classes, object, singleton and companion object 6
Scala - Singleton Objects
Linking Classes in Scala with Companion Objects: A Guide to Using UIDs in Relationships
Комментарии