quote:Until the year 10,000, sure.
Plus, it sorts correctly automatically, no conversion needed.
quote:Excuse me? Neither's necessarily better? do you think it's easier to remember 12 inches in a foot, 3 feet in a yard, 1760 yards in a mile (or 5280 feet in a mile), OR 10mm in a cm, 10cm in a dm, 10dm in a m, 1000m in a km?
Just like metrical and imperial systems. Neither's necessarily better, but at least they've got a completely different format.
code:No need to keep track of constant strings, no need to use a number lookup, colors just "are" red, green, blue, or whatever else has been defined -- like integers just are 0, 1, 5, -2, or whatever. If you want to do stuff dependent on the RGB values of numbers, you'd write a function that accepted something of type Color and returned some type of thing containing the appropriate numeric information.data Color = Red | Green | Blue
code:Which tells us a Tree holding things of type a can be made by either having a Leaf holding something of type a or a Branch holding two trees holding things of type a.data Tree a = Leaf a | Branch (Tree a) (Tree a)
code:These types are all just as first class as Haskell's built-in types, the latter just have some syntactic sugar and low level optimizations.leftmost (Leaf x) = x
leftmost (Branch left right) = leftmost (left)
quote:Having such a dirty mind, I read that as "I have a lot of meter in my pants..."
I have a lot of meter in my poems... (But not metre... Sorry - my spelling habits prevent it from being a perfect pun!)
quote:Like on "Battlestar Galactica", where they would say "just a centon" instead of "just a minute"?
I say we switch to a metric clock.
quote:Hours, minutes and seconds from Babylon. They had a 12-based system; look at their numerals.
It's obvious where days, years, and months come from, but I've always wondered about hours, minutes, seconds, and weeks.
quote:Diversity, individuality and all that modern day stuff.
DOES IT HAVE TO BE IN TWO DIFFERENT WAYS? WHY DID ONE HAVE TO REINVENT THE WHEEL? Can't either side give up?