News for hackers. Stuff that matters.
Re:Constructors in Ceylon by duaneb on Monday June 22, 2015 @11:49AM (#9759143)
Please look at "case classes" and their associated constructors, which is where I see the most similarity. I am sure they are implemented very differently, but I am not sure exactly what the benefits of ceylon might be over a more "cluttered" scala-style approach built on top of java class-and-interface MRO.
Re:Constructors in Ceylon by gavinking on Monday June 22, 2015 @01:41PM (#9759915)
The equivalent of Scala's case classes is an enumerated class with an "of" clause. Constructors aren't really relevant here, AFAICT.