Hacker News new | ask | show | jobs
by lukedegruchy 4013 days ago
Sorry, but I don't understand your point about instanceof/casting and how this relates to constructors. Please elaborate.
1 comments

Things that are discouraged don't receive the language's nicest syntax.

(Secondary) constructors are discouraged.

What well-designed language doesn't do this?
Ceylon and Kotlin are two languages who did this (both instanceOf/cast and instance creation).