Scala
Scala elegantly blends the functional paradigm with object orientation, running on the JVM. It's widely used in big data (Apache Spark is written in Scala) and large-scale concurrent systems.
- Creado por Martin Odersky
- Año 2004
- Paradigma: Functional + OO · compiled to bytecode
- Extensiones: .scala, .sc
Para qué se usa
- Big data (Spark)
- Concurrent systems
- Functional backend
A favor
- Functional and OO at once
- Powerful and expressive
- Interops with Java
En contra
- Very steep curve
- Slow compilation
- Hard to master
Ecosistema
- Akka
- Play
- Apache Spark
- sbt
- Cats
- ZIO
Ejemplo
@main def hola() = println("¡Hola, mundo!")