4 ms·
Sorry, but I don't understand your point about instanceof/casting and how this relates to constructors. Please elaborate.
by lukedegruchy 11y ago
Sorry, but I don't understand your point about instanceof/casting and how this relates to constructors. Please elaborate.
- justthistime_ 11y agoThings that are discouraged don't receive the language's nicest syntax. (Secondary) constructors are discouraged.
- lukedegruchy 11y agoWhat well-designed language doesn't do this?
- justthistime_ 11y agoCeylon and Kotlin are two languages who did this (both instanceOf/cast and instance creation).