News for hackers. Stuff that matters.
Re:Java 9 features announced by virtualwhys on Tuesday August 19, 2014 @06:45AM (#8196691)
Interesting, Scala equivalent is:

    case class Point(x: Int, y: Int)
    val p1 = Point(5,10)
    val p2 = p1.copy(x=17)
How does F# handle nested data types? In Scala if you want to copy a case class of a case class (of a case class ...) it can get boilerplate-y as you have to copy outside-in through each property a la:

    x.copy(acase.copy(bcase.copy(cprop=1)))

There are no comments on this comment yet.