Re:Brad Cox: when OOP was about “Software-ICs” and micro-tra...
by xscott on Saturday December 21, 2019 @04:06AM
(#21850436)
What language? Unless it's Ocaml, I'll be surprised if addition isn't overloaded for ints and floats at the least. Most people are fine with some overloading... To each their own though.
[ Parent
| on HN ]
Re:Brad Cox: when OOP was about “Software-ICs” and micro-tra...
by jstimpfle on Saturday December 21, 2019 @09:31AM
(#21851311)
Yes but that doesn't really apply to your point. Addition is built in. It doesn't affect completion, and barely affects type checking. The "overload" is fixed and generally well understood. It's almost not an overload at all if you view it as an operation on the set of all integers. There is only a clamping in the end that depends on the size of the type (unless it's unlimited precision arithmetic on BigNums)