Senior developer here 🙋♂️ I am pretty sure my junior coleagues know more about sorting algorithms than me 😅😅😅 Great inspiration to try and implement this excercise in F# ❤❤❤
@@rockthejvm However, an imperative algorithm with loops will probably be faster. Many algorithms in Scala collections seem to use imperative algorithms rather than recursion
@@piraloco5864 I mean of course there is much more to it - more clear code, better composition, better testability and things like that. However, this is mostly about higher-level code, like business flow imho. Low-leve things like sorting algorithms ARE about performance, aren't they?
OMG! I searched on the channel today for something about Recursion and in the evening found that, thanks!
Your videos (and Kit Langton's) always make me want to go back learning Scala 🙂
Senior developer here 🙋♂️
I am pretty sure my junior coleagues know more about sorting algorithms than me 😅😅😅
Great inspiration to try and implement this excercise in F#
❤❤❤
Great tutorial! Thank you ! ❤❤❤
Is there TCO in JVM?
Not on the JVM natively but in the languages (Scala, Kotlin)
One-liners (or not-so-many-liners) look nice but can be very challenging to write or read.
with minimal practice, this style can become second nature and you can plow through code
@@rockthejvm However, an imperative algorithm with loops will probably be faster. Many algorithms in Scala collections seem to use imperative algorithms rather than recursion
@@sergeibatiuk3468the point of functional programming is not strictly performance
@@piraloco5864 What is it?
@@piraloco5864 I mean of course there is much more to it - more clear code, better composition, better testability and things like that. However, this is mostly about higher-level code, like business flow imho. Low-leve things like sorting algorithms ARE about performance, aren't they?
Wow