Meddler · 2020-04-04 12:19
How many other lains have decided to learn Scala? I've been giving it a try with IntelliJ Edu and so far, I've been nothing but impressed with how intuitive it is in comparison with its precursor, Java.
It runs on the JVM meaning you don't have to waste time with garbage collection, which is a really nice feature.
Resources:
>main website
https://www.scala-lang.org/
>intellij edu
https://www.jetbrains.com/education/download/#section=idea-Scala
>nice website for more practical examples
https://www.javatpoint.com/scala-functions
>online IDE for you to play around with scala code
https://scastie.scala-lang.org/
dictionary · 2020-04-04 21:06
I dont know anything about programming but everyone seems to avoid scala because of association with java. people say scala isnt a big enough departure. people call it haskellator.
Is Scala more than just a meme language like so many other functional languages? Does it see use? Are there books?
Drano · 2020-04-04 21:21
>>17731
How can you say that functional programming languages are a meme when you don't know anything about programming?
Kay · 2020-04-04 21:30
>>17732
I didn't say all I said many
queue · 2020-04-04 22:12
>>17731
Scala is an object oriented language with a functional layer moreso than a functional language with OO-ness shoehorned in - it uses both seamlessly - where Java is a solely OOP language with ridiculous syntax procedures and overcomplicated methods (iirc it can't really handle arrays well either) Scala has currying, immutability, pattern matching etc etc.
Great example of Scala vs Java here;
https://en.wikipedia.org/wiki/Scala_(programming_language)#Example_with_classes
It's also a lot of fun to program in since there's so much flexibility in how you can create stuff, not just in syntax but with methods, classes etc etc. A few books here;
https://leanpub.com/theneophytesguidetoscala
https://www.oreilly.com/library/view/scala-cookbook/9781449340292/
renames · 2020-04-04 22:54
howcani learn scala and become scalasmart
Ishikura "Tatsu" Tatsuhiko · 2020-04-05 18:13
>>17733
And it's just as meaningless either way
Bob Arctor · 2020-04-05 20:47
>>17751
Please stop.
cond · 2020-04-06 15:03
>>17736
I liked the coursera classes. I am NOT scalasmart. But I have a grasp on the thing.
I am currently attending a series of introductory scala meetups. Still not scalasmart.
I am a bit confused with the whole ecosystem, what are the main differences between zio and cats? Why are there that many functional programming libraries for a functional programming language? Why are there so little machine learning capabilities for one of the rockstart big data languages?
I dont know, I feel like scala is a bottomless pit of libraries and quirky syntax. Not putting scala down, the little I have used it, I have quite liked it. But it just looks daunting to me.
Also, the community seems strange to me after I saw this trying to get back to scala a couple of months ago:
https://ensime.github.io/
Y.T · 2020-04-07 14:26
Doesn’t seem to be as sexy a language now as it was 5 years ago, that seems to be Clojure now.
I don’t have experience with either but I’d find it hard to go past Scala because it is fundamentally OOP, and although I really like the idea of Lisp in the JVM I like OOP more. There’s some pretty critical software at my work written in Scala which I would like to unravel one day, but it’s next to impenetrable (seems to be written in a very idiomatic way which might not necessarily be the Scala Way, whatever that is) and completely free of comments. The guy who wrote it also didn’t take advantage of the fact that you’ve got a wealth of Java libraries you can use in you code, and rolled a lot of his own libraries. But I digress - I’d say go for Scala unless you’re fine with the idiomatic Clojure way of doing things, in which case go with Clojure because it seems to be much more interesting today.