papauschek
Joined 13 years ago
Joined 13 years ago
I don't see why Ruby/Scala interop should be more difficult than Ruby/Java interop.
I only worked in a small team so far (3 devs) and had a good experience introducing Scala, but I can imagine that with people who have previous Scala experience and "their own style" can be problematic.
Unfortunately I did not understand the specific reasons he gave, but it had to do something with reification.
But of all the other libraries I tried (jOOQ, ScalikeJDBC, and some others) none of them were as elegant and easy to use as Slick, although some of them are easier to set up.
Right now, Slicks SQL queries are not optimized, so you better use a db that's good at query optimization (i.e. not MySQL 5.6, which will do unnecessary full table scans for some of slicks generated SQL)
The article also highlights that adopting Scala often also means adopting a more functional programming style.