Hacker News new | ask | show | jobs
by 0x70dd 1218 days ago
Scala has type inference [1]

[1] https://docs.scala-lang.org/tour/type-inference.html

2 comments

Yeah it works whenever you yourself can infer the type without it already.
Scala's type inference is not very good, especially in comparison with Haskell