Skip to content

jahaynes/teaching-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Why Scala?

It runs on the JVM

People who like the JVM agree that the JVM is a good platform to run on.

Managers accept it

Pretty good type system

In general, type systems have various goals:

  • Minimise the number of incorrect programs which can be written
  • Maximise the number of correct programs which can be written
  • Assist the compiler in producing fast output
  • Give early feedback to the developer
  • Guide the developer towards a solution

In particular, Scala's type system lets you represent some things not representable in other mainstream type systems, e.g.

trait Functor[F[_]] {
  def map[A, B](fa: F[A])(f: A => B): F[B]
}

The F is not representable in Java.

About

Scala tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages