An interview with Joey Hess
An interview with Joey Hess
Posted Jan 28, 2016 16:43 UTC (Thu) by nybble41 (subscriber, #55106)In reply to: An interview with Joey Hess by HelloWorld
Parent article: An interview with Joey Hess
Exactly. For example, C has implicit conversions between any two integer types, even when the conversion may lose information or lead to undefined behavior, a null value which can inhabit any pointer type, and implicit conversions to/from pointer-to-void. Java at least requires an explicit cast to narrow the type. It still suffers from the major weakness that null is treated as a valid reference value, and its implicit integer conversions can still lose information. They are both more strongly typed than, say, Perl or Bash, but even Java's type system is much weaker than Haskell's, or most of the ML family for that matter.