Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lukedegruchy
· 11y ago · 0 comments
Sorry, but I don't understand your point about instanceof/casting and how this relates to constructors. Please elaborate.
Comments
[–]
justthistime_
11y ago
Things that are discouraged don't receive the language's nicest syntax.
(Secondary) constructors are discouraged.
[–]
lukedegruchy
OP
11y ago
What well-designed language doesn't do this?
[–]
justthistime_
11y ago
Ceylon and Kotlin are two languages who did this (both instanceOf/cast and instance creation).