CODIGO
log in

Scala

AKA Scala 3, Dotty

Scala logo

Summary

Scala is a static-typed language combining functional and object-oriented paradigms that runs on the JVM. It provides powerful features like pattern matching, higher-order functions, and type inference while maintaining compatibility with Java libraries.

Paradigms

functional, object-oriented, imperative, concurrent, generic

Domains

data science, distributed system, server-side applications, web development, big data

Key Features

first-class functions, closures, pattern matching, algebraic data types, type inference, operator overloading, traits/interfaces, extension methods, string interpolation, reflection, meta-programming, macros, type classes

Typing

static system, structural typing, strong typing, full inference, compile-time checking, conservative type coercion, optional type annotations

Compilation

compiled, hybrid

Influenced By

Java, Haskell, ML, Erlang, Lisp, Pizza, Scheme, OCaml, Smalltalk, Standard ML, Eiffel, Common Lisp, Oz

Ratings

Startup time
▊▊
▊▊
▊▊
▊▊
▊▊
Memory usage
▊▊
▊▊
▊▊
▊▊
▊▊
Computation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Compilation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Community size
▊▊
▊▊
▊▊
▊▊
▊▊
Learning resources
▊▊
▊▊
▊▊
▊▊
▊▊
Job market demand
▊▊
▊▊
▊▊
▊▊
▊▊
Learning curve
▊▊
▊▊
▊▊
▊▊
▊▊
Cognitive load
▊▊
▊▊
▊▊
▊▊
▊▊
Syntax complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Semantic complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Memory safety
▊▊
▊▊
▊▊
▊▊
▊▊
Concurrency ease of use
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib size
▊▊
▊▊
▊▊
▊▊
▊▊
Backwards compatibility
▊▊
▊▊
▊▊
▊▊
▊▊
Documentation quality
▊▊
▊▊
▊▊
▊▊
▊▊

File extensions

scala, kojo, sbt, sc

External Links

Status active
Type programming
Created 2004
Designed by Martin Odersky
Developed by École Polytechnique Fédérale de Lausanne (EPFL)
Lightbend (formerly Typesafe)
Swiss Federal Institute of Technology in Lausanne
Martin Odersky
PyPL Index #22
TIOBE Index #29
GitHub rank #38

Popularity [PyPL]

Code Example

Loading...