4 ms·
it is well known the expression problem is trivial in dynamic (untyped) languages—however, static type safety is a requirement of the problem definition of the
by platz 9y ago
it is well known the expression problem is trivial in dynamic (untyped) languages—however, static type safety is a requirement of the problem definition of the expression problem.
- rbehrends 9y agoI didn't mention dynamic typing anywhere?
- platz 9y agono, but multi-methods are 99% of the time found in dynamic languages, right?
- rbehrends 9y ago1. Multimethods simply are a rare feature in general. 2. Multiple dispatch and static typing are completely orthogonal features. 3. Strictly speaking, you don't even need multiple dispatch. The key feature of multimethods that you need is the ability to add a method outside the class body.