Hacker News new | ask | show | jobs
by kentosi 2960 days ago
Though more "inferred" types rather than dynamic types, scala does allow you to do:

  val s = "String"
Rather than the more strict:

  val s:String = "String"
1 comments

Type inference has nothing to do with dynamic typing.
I had no idea what you were talking about, so I did my own research (ie - googled "type inference vs dynamic typing") and I stand corrected.

https://herbsutter.com/2008/06/20/type-inference-vs-staticdy...