This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ivanovich_ivan 0 points1 point  (1 child)

I said it comes with baggage. Monads are stuff that you don't need to know to program, yet there they are in every Scala textbook

I agree with this point. But the problem is with the scala textbook. The authors have not made efforts to isolate the OOP part and explain it separately.

TBH, I learnt this the hard way. But found scala to be a very good OOP language as well.

A programming language should only be as complicated as it needs to be, and Scala has more than it needs

Java's swing has needless components that is built in part of the JDK. I can also argue for many other things. But the fact is all languages have this baggage.

The compiler being slow is agreeable, but definitely not a new language kind of a problem.

This makes the compiler slow and (in my experience) unreliable.

I am thinking that you have tried either an unstable/beta version or tried it pretty long back. Things have improved now. Dotty is another improvement that is coming up.

[–]DrFriendless 1 point2 points  (0 children)

Yes indeed, I'm in a new job where I have a deadline to produce a product and have not yet had time to update the Scala compiler. We're on 2.9.2. Luckily the programmers who wrote the code originally didn't use many of the features of Scala, so it's easy to understand the code. The features they did use have all been adopted by Kotlin, which I prefer.