in reply to Re^10: Strong typing and Type Safety.A multilanguage approach (implicit)
in thread Strong typing and Type Safety.A multilanguage approach
How can you coerce the choice of operators if the operator is monomorphic?
I have no idea what you mean. The evaluation of the operands coerces an SV to an IV, of course.
implicit conversion
I don't understand this logic. How is explicitly using a monomorphic operator which operates on numeric values any less explicit than performing a manual conversion operation through a method?
(I don't accept the "But it's easy to make a typo when using an operator!" argument because it's easy to make a typo when calling a method.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Strong typing and Type Safety.A multilanguage approach (implicit)
by ikegami (Patriarch) on Nov 22, 2010 at 08:34 UTC | |
by chromatic (Archbishop) on Nov 22, 2010 at 17:37 UTC | |
by ikegami (Patriarch) on Nov 22, 2010 at 18:03 UTC | |
by chromatic (Archbishop) on Nov 22, 2010 at 19:14 UTC | |
by ikegami (Patriarch) on Nov 22, 2010 at 20:04 UTC | |
|
Re^12: Strong typing and Type Safety.A multilanguage approach (implicit)
by ikegami (Patriarch) on Nov 22, 2010 at 08:31 UTC |