Great presentation. I would love to see a few examples of Java or Python or C++ compared to this Scala 3 approach. Is the S3 more readable or incomprehensible? What are the next progressions to naturally follow from here?
With the recent change of licensing on Akka I am so afraid what they might do with Scala moving forward. :( It's still one of my most favorite languages though.
There's an entire course about data structures and algorithms (specifically for Google-style questions): rockthejvm.com/p/scala-functional-programming-interview-practice
I disagree with your nomenclatura (@17:30) about the for comprehension, not being a loop (how would you show it in a flow diagram, then?) and telling us, that it is not Iteration. List extends AbstractSeq which in turn extends AbstractIterable, doesn't it? And where is map defined? In Iterable, from where I may cite the documentation for `map`: "Builds a new iterable collection by applying a function to all elements of this iterable collection." Imho, it is a kind of iteration and it is best described as looping. It's just a different form of looping, compared with Java for example, where a loop doesn't return something. Otherwise, I found your talk insightful and helpful; thanks.
At a language level, for comprehensions are expressions, not loops; and they are far more general than processing collections. Option, Try, Future, Validated, IO and many other data types are composable by for comprehensions, and it makes no sense to say we "iterate" over them.
@@rockthejvm So are expressions and loops disjunct entities? Since an if-Statement in Scala is an expression, but not in Java, and returns a result, isn't it a branch anymore? I agree insofar that a for compr., dealing with an Option (Try, ...) leading to at most one Element is a very degenerated form of a loop and you would be right in not calling it a loop at all. Note, that in many languages, you can write `for (int i = 0; i < x, ++i) … ` and if x is 0 or 1, this isn't a loop either, since it is then executed only once or not at all. But in many cases, the inner part of a for-Compr. is executed more than once in Scala. And in these cases, it is imho a loop.
Hi, nice video. Could you create some GUI app in Scala. I now that it is not so useful, but it is interesting to watch. When in your eyes creating something clickable it's amazing 😍
I think it would be massively valuable if you can talk about a roadmap of things to consider for a Scala dev
Noted!
I had bought the BF bundle, so much discount. Thanks, Daniel. I will learn advanced scala 3 and ZIO on your website. Thanks.
The main skill is to be calm and not hurt other developers. Especially other Scala developers.
"Thumbs up" number 300 is mine )) Thanks a lot, Daniel!
super helpful and great quality, keep it up!
You missed the most important skill - The ability to accurately apply stickers to the lid of your Macbook.
😂
Great presentation. I would love to see a few examples of Java or Python or C++ compared to this Scala 3 approach. Is the S3 more readable or incomprehensible? What are the next progressions to naturally follow from here?
There are many good webcast, given from Daniel (Rockthejvm). So I think there is anything you will need
With the recent change of licensing on Akka I am so afraid what they might do with Scala moving forward. :(
It's still one of my most favorite languages though.
No they can't - they don't own it (unlike Akka)
When you mentioned skills I was expecting more like other technologies complimenting scala like Spark, Akka, slick etc..
One of the objectives of Rock the JVM is to share the true, timeless skills, which are mental models.
@@rockthejvm Appreciate your hard work I have learnt a lot from your courses.
Useful and good quality video.
Hey Daniel,
Can you also tell about learning DSA in scala?
There's an entire course about data structures and algorithms (specifically for Google-style questions): rockthejvm.com/p/scala-functional-programming-interview-practice
@@rockthejvm thanks i checked but no info of content what we can expect from course.
@@rockthejvm are you not providing this course on udemy?
I disagree with your nomenclatura (@17:30) about the for comprehension, not being a loop (how would you show it in a flow diagram, then?) and telling us, that it is not Iteration.
List extends AbstractSeq which in turn extends AbstractIterable, doesn't it? And where is map defined? In Iterable, from where I may cite the documentation for `map`:
"Builds a new iterable collection by applying a function to all elements of this iterable collection."
Imho, it is a kind of iteration and it is best described as looping. It's just a different form of looping, compared with Java for example, where a loop doesn't return something.
Otherwise, I found your talk insightful and helpful; thanks.
At a language level, for comprehensions are expressions, not loops; and they are far more general than processing collections. Option, Try, Future, Validated, IO and many other data types are composable by for comprehensions, and it makes no sense to say we "iterate" over them.
@@rockthejvm So are expressions and loops disjunct entities? Since an if-Statement in Scala is an expression, but not in Java, and returns a result, isn't it a branch anymore?
I agree insofar that a for compr., dealing with an Option (Try, ...) leading to at most one Element is a very degenerated form of a loop and you would be right in not calling it a loop at all. Note, that in many languages, you can write
`for (int i = 0; i < x, ++i) … ` and if x is 0 or 1, this isn't a loop either, since it is then executed only once or not at all.
But in many cases, the inner part of a for-Compr. is executed more than once in Scala.
And in these cases, it is imho a loop.
Hi, nice video. Could you create some GUI app in Scala. I now that it is not so useful, but it is interesting to watch. When in your eyes creating something clickable it's amazing 😍
Made a Snake game in ScalaFX a while back: ruclips.net/video/sp6QO6eRRrg/видео.html
I don't think meaningOfLife can be 42, as that would make the meaningOfTheUniverseEverything 0.
So meaningOfLife is 0 then? 😅
pretty generic and suitable for other languages' information
you are writing code and not executing it, like wtf
Feel free to run it!