Re:Show HN: Jackal – XMPP server in Go
by hauleth on Tuesday May 08, 2018 @04:23PM
(#17024644)
As far as I know there is no way for Erlang to automatically cast between types (except numeric, but these are treated as one type with variants), so by any definition that I know it is strongly typed language. Dynamically typed, yes, but strongly.
About other languages that are weakly typed in "current use":
- JavaScript is still weakly typed as far as I am concerned, nothing prevents you from 0 == "" and get true value.
- PHP is still weakly typed, with optional type hinting but still sometimes can bite you in the ass
Erlang + Dialyser can be read as quasi-static typing, but it is still strong one.
About other languages that are weakly typed in "current use":
- JavaScript is still weakly typed as far as I am concerned, nothing prevents you from 0 == "" and get true value. - PHP is still weakly typed, with optional type hinting but still sometimes can bite you in the ass
Erlang + Dialyser can be read as quasi-static typing, but it is still strong one.