Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

which languages have the most beautiful

Name: Anonymous 2012-01-20 7:13

... implementation of numbers?

scheme, with its numerical tower?
haskell?

Name: Anonymous 2012-01-20 13:07

No statically typed language can have beautiful numbers, because math isn't statically typed. The type of a number depends on its value, and value is run-time. So the same piece of code can produce numbers of different type based on the run-time inputs. This cannot be statically determined. For instance division of integers is sometimes int x int -> int  and sometimes int x int -> ratio.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List