News for hackers. Stuff that matters.
Re:Scala – 1 Star – Would Not Program Again by nimbix on Monday December 02, 2013 @11:10AM (#6834491)
My "favorite" part of Scala was half a dosen DB libraries each re-implementing SQL as a DSL.
Re:Scala – 1 Star – Would Not Program Again by trailfox on Monday December 02, 2013 @11:16AM (#6834526)
C# does that too. It's called LINQ and it's very popular.
Re:Scala – 1 Star – Would Not Program Again by nimbix on Monday December 02, 2013 @11:33AM (#6834642)
Are there a number of slightly different and incomplete variants of LINQ, like there are SQL DSLs in Scala? Because if not, then LINQ is "the right way" of doing this kind of thing. And if I remember correctly, LINQ is also useful outside of the DB domain, for things like filtering arrays and so forth.

I once read an article about how Java programmers can hold a conversation on the topic of upsides and downsides of multiple dependency injection containers while C# programmers only have one available and have nothing to say on this topic. That article concluded that having one "good enough" solution can often be better than having multiple slightly different and incomplete ones, even if each has its own strenghts, and I'd say the same is true when it comes to the C# LINQ vs. Scala SQL DSLs.

Re:Scala – 1 Star – Would Not Program Again by trailfox on Monday December 02, 2013 @11:59AM (#6834809)
C# has various options (see: http://stackoverflow.com/questions/671231/linq-nhibernate-al...)

The Scala equivalent is called Slick, and it's the only SQL DSL that approaching anything near widespread use. I fail to see how incomplete projects on GitHub which happen to be written in Scala are relevent to this discussion.

Re:Scala – 1 Star – Would Not Program Again by dennisgorelik on Monday December 02, 2013 @01:33PM (#6835464)
It's NOT called LINQ in C#.

You are probably referring to "LINQ to SQL" which is different and significantly less popular technology than LINQ.

Re:Scala – 1 Star – Would Not Program Again by AKarimi on Friday December 06, 2013 @01:32PM (#6862673)
Or "LINQ to EF" which you can suppose it stable just when working with "MS SQL Server".