News for hackers. Stuff that matters.
Re:Scala 3.0 by atbpaca on Friday May 14, 2021 @07:58AM (#27153267)
This is super cool! Looking forward to metaprogramming in Scala 3!
Re:Scala 3.0 by asdasdasdch on Friday May 14, 2021 @08:01AM (#27153280)
Re:Scala 3.0 by akra on Friday May 14, 2021 @09:18PM (#27161392)
This looks a little like inline in F# where it allows more generic method cases than standard generics do in C#/Java. Looking at the documentation I'm wondering does it allow things like - "any input type that supports the divide operator"? It's a feature I've appreciated previously when writing high performance math code on the .NET side.
Re:Scala 3.0 by ptrwis on Friday May 14, 2021 @12:24PM (#27156047)
With "Expr" it should be possible to built an ORM similar to Entity Framework, it allows to write elegant queries thanks to Expression Trees in C#.