by Zak · 15y ago · 0 comments
It's nice: a type system that's there when you want it, and stays out of your way. After being exposed to that, I've never really understood what the static-vs-dynamic argument was about. To me, dynamic and static typing looks like a several-dimensional continuum, and where a language falls on that continuum is a matter of taste.
What I really want in a type system is for it to catch bugs, but get out of my way. Haskell is a little too stern for my liking.
Debug.trace a b = a
and b gets logged to the console. Or maybe it's backwards. I forget.
because all types are really (or <x> null).
Did you miss a word there ? It happens to me all the time.It's haskell-type-system-speak for "If you declare something to be a String, it really means String or null."