Re:Constructors in Ceylon
by lukedegruchy on Monday June 22, 2015 @02:35PM
(#9760285)
Sorry, but I don't understand your point about instanceof/casting and how this relates to constructors. Please elaborate.
[ Parent
| on HN ]
Re:Constructors in Ceylon
by justthistime_ on Monday June 22, 2015 @03:04PM
(#9760484)
Things that are discouraged don't receive the language's nicest syntax.
(Secondary) constructors are discouraged.
Re:Constructors in Ceylon
by lukedegruchy on Monday June 22, 2015 @03:38PM
(#9760677)
What well-designed language doesn't do this?
Re:Constructors in Ceylon
by justthistime_ on Monday June 22, 2015 @04:27PM
(#9760961)
Ceylon and Kotlin are two languages who did this (both instanceOf/cast and instance creation).