News for hackers. Stuff that matters.
Re:Are dynamic languages going to replace static languages? ... by dragonwriter on Wednesday August 04, 2021 @05:35AM (#28059026)
If the language allows it the types are (ipso facto) not incompatible; “weak typing” is more a subjective statement about how well a language lines up with the speakers mental model of what types should be compatible than an objective one about falsifiable properties of the type system.
Re:Are dynamic languages going to replace static languages? ... by gpderetta on Wednesday August 04, 2021 @06:24AM (#28059338)
Agree. Weakly typed is so loosely defined and subjective to be a completely useless adjective. It basically a synonym for 'language I dislike'.
Re:Are dynamic languages going to replace static languages? ... by goatlover on Wednesday August 04, 2021 @08:37AM (#28060271)
How about some languages allow implicit type conversions, and others do not.
Re:Are dynamic languages going to replace static languages? ... by iso8859-1 on Wednesday August 04, 2021 @08:57AM (#28060472)
Is Scala weakly typed then because it has implicits?
Re:Are dynamic languages going to replace static languages? ... by goatlover on Wednesday August 04, 2021 @03:52PM (#28065448)
I don't know, but JS and PHP implicit conversions are widely acknowledged to cause plenty of issues, which Python and Ruby do not have since you have much fewer cases of implicit conversion.