Scala in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

Комментарии • 1 тыс.

  • @AlanThomas1
    @AlanThomas1 5 месяцев назад +1441

    I've been a Scala dev for 7 years and I finally feel seen

    • @vikingthedude
      @vikingthedude 5 месяцев назад +111

      are you happy?

    • @gaurav.sahane
      @gaurav.sahane 5 месяцев назад +170

      @@vikingthedude dude wasted no time asking that question

    • @WhyteLightning
      @WhyteLightning 5 месяцев назад +14

      And how's the salary lol

    • @AlanThomas1
      @AlanThomas1 5 месяцев назад +28

      @@vikingthedude yes

    • @AlanThomas1
      @AlanThomas1 5 месяцев назад +47

      @@WhyteLightning apparently near the top compared to other languages according to the SO survey

  • @EliasWolfy
    @EliasWolfy 5 месяцев назад +2759

    now I have 10 years of experience in Scala, thanks!

    • @losthalo428
      @losthalo428 5 месяцев назад +36

      Funny every time

    • @hdrkn5247
      @hdrkn5247 5 месяцев назад +81

      sorry we only want candidates with 20+ years of experience with Scala

    • @bezceljudzelzceljsh5799
      @bezceljudzelzceljsh5799 5 месяцев назад +23

      @@hdrkn5247 Wasn't the meme about unrealistic expectation put on a swift developer?
      20 years is too realistic unfortunately

    • @LuisSierra42
      @LuisSierra42 5 месяцев назад +9

      Straight to resume

    • @AslamNazeerShaikh
      @AslamNazeerShaikh 5 месяцев назад +4

      We have openings for scala dev with 50years of expressions 😂🎉

  • @Joris-KarlHuysmans
    @Joris-KarlHuysmans 5 месяцев назад +193

    I took the Coursera specialization in Scala last year and I can honestly say this language changed the way I look at programming. Even if I ended up not using the language everyday, programming in Scala for a while taught me to write more efficient and professional code. Also, in my opinion, it’s one of the most beautiful languages out there. The sheer simplicity and elegance of FP combined with a unique approach to OOP is simply unbeatable.
    Scala is one of these cases where you need to switch to a mathematical, almost academic mindset when thinking on how the code will be written.
    Pure love for Scala and its developers for making me a better developer.

    • @games4us132
      @games4us132 5 месяцев назад +3

      so if im not an academic in math, i can't use scala? sigh

    • @Joris-KarlHuysmans
      @Joris-KarlHuysmans 4 месяца назад +3

      @@games4us132 you can do whatever you want mate. If you read correctly, I said…”switch to a mathematical, almost academic mindset”. You don’t have to be a mathematician to do so; I am not a mathematician yet managed to understand the language perfectly.
      Scala is a complex language, and FP has its roots in Lambda Calculus, so if you come from a mathematical background, you will have an easier time, that’s just the nature of the language.

    • @samuraijosh1595
      @samuraijosh1595 3 месяца назад +2

      ​@@Joris-KarlHuysmansjust learn Haskell first Scala is a walk in the park from that point.

  • @SGD2718
    @SGD2718 5 месяцев назад +691

    This sounds so cursed and immensly useful at the same time.

    • @johndoe6189
      @johndoe6189 5 месяцев назад +7

      yeah

    • @krzysztofpecyna7628
      @krzysztofpecyna7628 5 месяцев назад +34

      what sound cursed?

    • @MrC0MPUT3R
      @MrC0MPUT3R 5 месяцев назад +64

      This sounds like kotlin with more monads. I love it.

    • @_aullik
      @_aullik 5 месяцев назад +92

      @@MrC0MPUT3R It kinda is but also isnt. You might know the pain of having to write Java at work when writing Kotlin at home. Once you get good with Scala you still have the pain of missing Kotlin, however once you go back to Kotlin you now have the pain of missing Scala.

    • @vsolyomi
      @vsolyomi 5 месяцев назад +5

      because it is

  • @saber8387
    @saber8387 5 месяцев назад +2141

    Hi I'm from Scala dev team thank you for featuring us ❤ Nice job team 🤓

    • @LA-dd3pn
      @LA-dd3pn 5 месяцев назад +79

      Hi I’m also from the dev team ❤️❤️

    • @ZelenoJabko
      @ZelenoJabko 5 месяцев назад +19

      2 years too late

    • @mcgelloe
      @mcgelloe 5 месяцев назад +33

      I am also from the dev team 💛💛

    • @user-bp6eh7en1v
      @user-bp6eh7en1v 5 месяцев назад +30

      Hi, this is Jeff from the dev team ❤

    • @christopherneufelt8971
      @christopherneufelt8971 5 месяцев назад +40

      Hi am from the Exorcist Team, come back to C!

  • @JohnneyleeRollins
    @JohnneyleeRollins 5 месяцев назад +536

    "scula" jeff even got the accent right

  • @grahamt4329
    @grahamt4329 5 месяцев назад +418

    We edge closer and closer to a "Clojure in 100 Seconds" by the day :)

    • @kookoo6128
      @kookoo6128 5 месяцев назад +11

      yup, the why arents programmers happy video set this and the clojure video up nicely to come.

    • @keychera
      @keychera 5 месяцев назад +1

      I was about to comment the same thing lmao!

    • @Jason_Kang
      @Jason_Kang 5 месяцев назад +21

      (lets(keep(edging(boys))))

    • @gordon7478
      @gordon7478 5 месяцев назад +6

      ​@@Jason_Kang criminally underrated low-hanging fruit of a comment

    • @apestogetherstrong341
      @apestogetherstrong341 5 месяцев назад +6

      could be written as
      (-> (boys) edging keep lets)

  • @michaelpalacios8951
    @michaelpalacios8951 5 месяцев назад +113

    I've been a Java developer for most of my career and learning Scala has been a legit game changer

    • @lmaoded7505
      @lmaoded7505 5 месяцев назад +2

      How? Like in development experience or jobs available?

    • @vsolyomi
      @vsolyomi 5 месяцев назад +7

      Did you get fired or something?

    • @TheIsraelMendoza
      @TheIsraelMendoza 5 месяцев назад +17

      Did you try Kotlin first?

    • @ЏонМастерман
      @ЏонМастерман 5 месяцев назад +2

      Stop lying lol

    • @michaelpalacios8951
      @michaelpalacios8951 5 месяцев назад +2

      @@vsolyomi Several times. It's actually kind of a sore spot for me

  • @keuhdall1
    @keuhdall1 5 месяцев назад +197

    Me, a Scala dev: SCALA MENTIONED, I REPEAT, SCALA MENTIONNNNNNED

    • @pvmanisggoorgh3377
      @pvmanisggoorgh3377 5 месяцев назад +30

      All 17 scala developers finally feeling seen 😊😊❤❤🎉

    • @CodecookerMintz
      @CodecookerMintz 5 месяцев назад +9

      THIS IS NOT A DRILL!

    • @dionlebowski2400
      @dionlebowski2400 5 месяцев назад +5

      “Oh my God! Okay, it’s happening. Everybody stay calm!”

    • @onça_pintuda999
      @onça_pintuda999 5 месяцев назад +1

      What do you do to use Scala?

    • @keuhdall1
      @keuhdall1 5 месяцев назад

      @@onça_pintuda999 I do backend software engineering for a company working in digital advertising.
      Most of it could be done using any programing language tbh but Scala make it really enjoyable. Disney streaming is making a great use of the language using the Typelevel stack (one of many Scala ecosystems), you should definitely look it up if you're interested in the language!

  • @demosflora7250
    @demosflora7250 5 месяцев назад +47

    I have been using Scala with Spark for our enterprise project for over 4 years now! Its no joke how good and expressive this language is. Gets the same work done in very short periods of development cycle compare to java/Python(PySpark)

    • @p3kk
      @p3kk 5 месяцев назад

      Where do you work?

    • @GreatTaiwan
      @GreatTaiwan 5 месяцев назад +1

      how is it faster than PySpark

    • @carlsderder
      @carlsderder Месяц назад

      ​@@GreatTaiwan​ It is the same code experience and basically the as fast as pyspark if you just use the SQL API of spark.
      What I use the most is that API, but ocasionally i have to do some low level stuff and Scala is perfect for that, you can just take your RDDs and start chaining high order functions, it just feels right to handle RDDs with Scala.

  • @approxahmed
    @approxahmed 5 месяцев назад +18

    Been wanting a Scala in 100 seconds after I gained some interest in it almost a year and a half ago
    Thank you :)

  • @srki22
    @srki22 5 месяцев назад +13

    Martin Odersky is the guy who added Generics to Java. Before it was officially added to Java, he created a pre-compiler to use Generics.

  • @rockthejvm
    @rockthejvm 5 месяцев назад +10

    Few things will expand your mind as much as learning Scala will. This video scratched the surface.
    If you have any questions about Scala, we're very happy to help. ✌

    • @holonaut
      @holonaut 3 месяца назад

      I keep hearing about "implicits". Can you explain what that's about? Like what it is, what kind of problem it helps to solve and maybe also how it helps the programmer

    • @carlsderder
      @carlsderder Месяц назад

      ​@@holonautif you declare a function, you can use an implicit argument, so you don't have to explicitly pass that argument every time you call the function. For example, in spark SQL you have one SparkSession that can be used in many functions, so you can just declare It as an implicit argument on those functions and when you call It, the function will find it by itself.

  • @Luis-fh8cv
    @Luis-fh8cv 5 месяцев назад +32

    I’ve been waiting my whole life for this

  • @douglascodes
    @douglascodes 5 месяцев назад +3

    Learning a functional language really helped with my OO programming. I think Scala is great and so many of of it's ideas, like pattern matching now in python, option class now in Java, etc have really pushed things forward. As well as Spark being amazing. As well as all the iteration types that you have to use lodash or itertools in other languages. They are just there.

  • @AJKvideoproductions
    @AJKvideoproductions 5 месяцев назад +5

    Really liked the video. Scala dev for 4 years, all of my professional career. Love the language and community. Thanks for featuring.

  • @WolfPhoenix0
    @WolfPhoenix0 5 месяцев назад +18

    You know Fireship has made it as a RUclipsr when 1/3rd of his video is a sponsor ad. 😂

  • @andrewallbright
    @andrewallbright 5 месяцев назад +3

    I LOVED scala back when I worked with it. It led me to think functional, served to introduce me to high math concepts, and led me to look up computer science history (props to Philip Walder and his Strange Loop talks!!). Scala was my first functional language ignoring a highly discounted JS as a functional language.
    I mostly write golang, C#, various other devops languages but my time with scala taught me valuable lessons.

  • @taylorallred6208
    @taylorallred6208 5 месяцев назад +11

    Someone once said: “Scala reads like Haskell fanfic on the JVM”

  • @djudju8047
    @djudju8047 5 месяцев назад +21

    Scala is the first language that I've really enjoyed to code with.

    • @spillanegottleib1681
      @spillanegottleib1681 4 месяца назад +1

      Yes I tried coding in Swahili for a couple of months, discovered there is no switch statement.

  • @Jebusankel
    @Jebusankel 5 месяцев назад +8

    Some things that might have made the cut if you had 200 seconds:
    Scala IDEs have a feature called Scala Worksheets that is basically a multiline REPL which I haven't seen anywhere else and is really nice for beginners.
    Scala 3 has optional indentation based/Python style block syntax
    Scala can also compile to JS or to native code via an LLVM based compiler, although you lose access to much of the ecosystem when you do so.

    • @holonaut
      @holonaut 3 месяца назад +1

      Quick question about worksheets: How are they different from just writing some regular script and executing it?

    • @Jebusankel
      @Jebusankel 3 месяца назад +1

      @@holonaut every line that returns a value gets printed without having to say println() and the result prints right next to the corresponding line. So it's a two column interface. Left column for your code, right column for output.

  • @DrakiniteOfficial
    @DrakiniteOfficial 5 месяцев назад +1

    Scala's insane flexibility is really cool, I've had a couple years of experience in Chisel, which is an embedded language within Scala. When the code runs, it elaborates into a structure that represents hardware and outputs into something called Firrtl, which then can be compiled into Verilog. It's a really cool tool.

  • @SOTPOD
    @SOTPOD 5 месяцев назад +5

    also just gotta say one of the things that keeps me going every day as a product manager for live service videogames is watching one of these and asking at our next sync dead serious "is this a problem [language in 100 seconds] can solve?" for our copy-pasted unity game.
    there is something about seeing someone reach lower than me that just keeps the little flame in my heart alive, and sometimes one of the devs will reach out, ask me I'm a Fireship fan, and then die just that tiny bit more inside when I tell them I don't use Amazon products

  • @Joker22593
    @Joker22593 5 месяцев назад +1

    Scala was the only language that had all the features I needed to construct an easy to use library that does arithmetic with surreal numbers. I love it and I don't use it enough.

  • @LiathHelvetica
    @LiathHelvetica 5 месяцев назад +8

    We are so fucking back

  • @redofficiale
    @redofficiale 5 месяцев назад +2

    thanks for featuring scala! Love this language and love that I got a change to work with it professionaly 🥰

  • @FaztTech
    @FaztTech 5 месяцев назад +61

    Adding 10 years of experience in Scala, in 100 seconds

    • @afind
      @afind 5 месяцев назад +3

      Ver un video del Fireship en donde habla de Scala y que haya un comentario del Fazt...surely a pretty lucky day 🌟🌟

  • @taidokax7562
    @taidokax7562 5 месяцев назад +2

    Scala was the first programming language I really fell in love with. Even though I have by necessity been using other languages, I have warm feelings towards Scala and I hope that one day I can work with Scala again.

  • @jamoncitovideos
    @jamoncitovideos 5 месяцев назад +11

    Scala is an awesome language. For all data engineers out there using PySpark, try out scala and you will most definitely fall in love with it (plus it comes with the Dataset API which is like a typed Dataframe). Highly recommend it.
    But be advised: if you ever use var, I will hunt you down

    • @commander3494
      @commander3494 5 месяцев назад

      But what if i need a mutable variable?

    • @nwseooo
      @nwseooo 5 месяцев назад

      ​@@commander3494 you DONT

    • @CernyMatej
      @CernyMatej 5 месяцев назад

      You don't ​@@commander3494

    • @bickboose9364
      @bickboose9364 5 месяцев назад

      ​@@commander3494He will hunt you down if you use it.

    • @esse8407
      @esse8407 5 месяцев назад

      @@commander3494 trust me you don't need it

  • @paulooliveiracastro
    @paulooliveiracastro 5 месяцев назад +146

    Scala is one of those languages you start very excited about. Its type system, the mix between OOP and functional programming, the reflection stuff. Then...you have to understand very complicated and over-abstracted code written in it and you can finally see why people love the simplicity of GoLang.

    • @11WicToR11
      @11WicToR11 5 месяцев назад +31

      this is my view of rust xD love to write it, but any code written by someone else fcking scares me

    • @Lemmy4555
      @Lemmy4555 5 месяцев назад +6

      Time to refactor

    • @Uerdue
      @Uerdue 5 месяцев назад +42

      I love the simplicity of assembly. Move stuff into eax. Move stuff out of eax. Doesn't get simpler than that!

    • @paulooliveiracastro
      @paulooliveiracastro 5 месяцев назад +16

      @@Uerdue I know that your message was sarcastic but let me tell you: I love assembly. Writing a game for the original gameboy in assembly was one of the best coding experiences I've had.

    • @ardnys35
      @ardnys35 5 месяцев назад

      one must venture the whole spectrum

  • @xyler.7
    @xyler.7 5 месяцев назад +23

    Searched for it this morning n he made it💀

  • @JakeDelanois
    @JakeDelanois 5 месяцев назад

    The concise and efficient ways of Scola's coding practice makes it a strong language.

  • @bennyswayofficial
    @bennyswayofficial 5 месяцев назад +67

    Im just spitting tea here as a KOTLIN developer. Insert scooby doo's Fred uncovers mask meme, Kotlin has been Scala all the time.

    • @paprikar
      @paprikar 5 месяцев назад +5

      same lmfao

    • @tewecske
      @tewecske 5 месяцев назад +19

      Unfortunately Kotlin is just a better Java. Scala is much more. I could never use a language again which uses statements instead of expressions. Maybe Scala is too much for some people but I love it.

    • @_deathcry
      @_deathcry 5 месяцев назад +18

      @@tewecske Could you please elaborate? Because in terms of expressions instead of statements - Kotlin is doing exactly the same.

    • @kienvu4690
      @kienvu4690 5 месяцев назад +10

      Poor Scala, if only it were created by some big company

    • @nnnp634
      @nnnp634 5 месяцев назад +1

      I had an opposite reaction when I've first seen Kotlin

  • @CreatingWithJackPines
    @CreatingWithJackPines 5 месяцев назад +30

    As a Scala enthusiast and follower of this channel, I am surprised at the lack of snark.

    • @P-39_Airacobra
      @P-39_Airacobra 5 месяцев назад +5

      You're only allowed to be snarky at OOP languages

  • @AEStolfo
    @AEStolfo 5 месяцев назад +199

    so basically jvm rust with no borrow checker to kick my ass..

    • @MrDejvidkit
      @MrDejvidkit 5 месяцев назад +24

      I am tell this to my team for years. They love it.

    • @tingmo6669
      @tingmo6669 5 месяцев назад +31

      rust definitely has some inspiration from scala, they are probably my top two languages. there is some other weirdness to wrap your head round tho, like implicits, and it has higher kinded types and other haskelly things which has the potential to make code very abstract and potentially hard to understand if you don't have a lot of functional programming experience

    • @raykirushiroyshi2752
      @raykirushiroyshi2752 5 месяцев назад +4

      Been trying out zig as of late. I really like if,for, while as statement.

    • @williamadama7822
      @williamadama7822 5 месяцев назад +4

      Yup, Scala even has traits !

    • @DumblyDorr
      @DumblyDorr 5 месяцев назад +5

      Kinda! Interestingly, Scala has an experimental feature now called "Caprese" (for "CAPabilities for RESources and Effects") - which introduces declared and checked restrictions, looks a tiny bit like Rust's lifetimes, but is about declaring and capturing capabilities (for impure effects, including resource handling). Still in its infancy - but fascinating concept nevertheless.

  • @lifeisfakenews
    @lifeisfakenews 5 месяцев назад +1

    i love when he has sponsers on these videos because u get the full(/more off) the outro song that u never normally hear

  • @erodeus746
    @erodeus746 5 месяцев назад +8

    can confirm scala slaps, currently writing an mmorpg backend in scala with AKKA, 10/10 would recommend

    • @paw565
      @paw565 5 месяцев назад +2

      Bro akka is so complex, I can't get my head around it. Respect for managing to work with it. Maybe I just have skill issue lol

    • @ShotterManable
      @ShotterManable 5 месяцев назад +1

      It is. Read essential scala and do exercises. Then scala with cats

    • @albi7894
      @albi7894 5 месяцев назад +1

      ​@@paw565i've been fighting with akka all day at work today

    • @erodeus746
      @erodeus746 5 месяцев назад +1

      @@paw565 it is only simple when it fits exactly what you need perfectly, and even then theres a lot of magic behind the scenes
      in my case it was easy, i wanted a non blocking no update loop mmorpg, and so each player and npc and interactable object is an actor, and it works really really well!

    • @erodeus746
      @erodeus746 5 месяцев назад

      @@albi7894 whatchu doin with it? and ye i would never trust my job to make the correct call on where / when to use akka, i feel like theyd shove it in stuff where it doesnt belong

  • @انا_ابراهيم_البناوي
    @انا_ابراهيم_البناوي 5 месяцев назад +9

    Time to learn it this is the first time I have heard of it and it sounds really interesting

  • @geeshta
    @geeshta 5 месяцев назад +7

    Im already excited about Gleam which is like if Scala and Rust had a baby that runs on the Beam VM

    • @esse8407
      @esse8407 5 месяцев назад

      Scala and Rust making a baby is pure incest tho

  • @tylercollins9323
    @tylercollins9323 5 месяцев назад +8

    Props to you for covering a Skoda

  • @torarinvik4920
    @torarinvik4920 5 месяцев назад +19

    Martin Odersky is brilliant guy. I love his statement about local mutation not being a big problem, but global mutation being bad. It's a good compromise.

  • @Devenias
    @Devenias 5 месяцев назад +31

    Kotlin looks and works alot like Scala. I did not realize how similar they are and I think Kotlin got heavily inspired by Scala.

    • @guncolony
      @guncolony 5 месяцев назад +4

      Yup Kotlin is HIGHLY inspired by Scala although i like Kotlin a lot more.

  • @Stieselkeine
    @Stieselkeine 5 месяцев назад +4

    2:00 Optinals has been a feature in Java since Version 1.8. Null Pointer Exceptions shouldn't really exist in Java anymore and still they do.

  • @lmaoded7505
    @lmaoded7505 5 месяцев назад +2

    As a Junior Java developer who broke production because of a missing null check, i agree. Null pointer exception is a birch

  • @mohamedramdanedebiane7864
    @mohamedramdanedebiane7864 5 месяцев назад +11

    Scala mentioned lets go

  • @lucasteo5015
    @lucasteo5015 5 месяцев назад +1

    I just realized so much kotlin syntax actually came from scala and I really like kotlin's functional and oop mix, now I must try scala

  • @zachmoring284
    @zachmoring284 5 месяцев назад +19

    Scala is what all of my undergrad coursework was written in, so it was the very first language I ever learned

    • @ishak_arif
      @ishak_arif 3 месяца назад

      I'm also going to do Scala in my second semester this year. Is it any good?

  • @xPTM1219
    @xPTM1219 5 месяцев назад

    I've been working with Scala for 2 years now and I always wanted a 100 secs video of Scala, so thank you very much for this!!

  • @jjpp3301
    @jjpp3301 5 месяцев назад +8

    Every scala course: “Ok so there’s scala 2 and 3, we’ll be using 2 because fuck you”

    • @ninele7
      @ninele7 5 месяцев назад +2

      Late versions of Scala 2 introduced experimental macros api. And it was in experimental state for so long, that whole ecosystem started to heavily depend on them. With Scala 3 they completely changed how macros work and broke back compatibility. It took multiple years to rewrite most important things to Scala 3 macros, in recent years I hear more and more about teams using Scala 3 in production, so, soon you will see more Scala 3 focused tutorials.

    • @jfolz
      @jfolz 5 месяцев назад +8

      @@ninele7 sounds like the Scala people looked at what was happening with Python's transition from 2 to 3 and thought, "we'll have some of that!"

    • @kubukoz_
      @kubukoz_ 5 месяцев назад +1

      Scala 2 is BY FAR more popular in existing code. For the record, the migration to Scala 3 is nowhere near as painful as the Python situation because of a crazy strong type system.
      New projects may be developed in Scala 3 but 2.x is still a great language and it's actively maintained :)

    • @ninele7
      @ninele7 5 месяцев назад +2

      @@kubukoz_ if your code doesn't depend on outdated macros, than yes. Scala 3 migration is very easy.
      But for a long time after release simple things like circe json serialization wasn't working on Scala 3.

  • @anirbande9711
    @anirbande9711 5 месяцев назад +2

    I am a scala developer , this video shows precisely how scala is a machine gun of programming languages 🔥

  • @DrakiniteOfficial
    @DrakiniteOfficial 5 месяцев назад +46

    "Large-scale social media platform X"? Never heard of it. Is it like Twitter?

    • @Roboprogs
      @Roboprogs 5 месяцев назад

      eX-Twitter

  • @fengziya
    @fengziya 5 месяцев назад +1

    Using the word ‘future’ for async values is so intuitive

  • @albabriziq
    @albabriziq 5 месяцев назад +6

    Babe wake up, a new 100 seconds video just uploaded

  • @CollinWilliams-by5cs
    @CollinWilliams-by5cs 5 месяцев назад +1

    I didn't realize the simiarities between rust and Scala! Thanks for another great video, Fireship

  • @floppa9415
    @floppa9415 5 месяцев назад +5

    Did I just learn it so I can mix groovy, kotlin, java and scala in one project? Honestly, yes!

    • @softwaretools5140
      @softwaretools5140 5 месяцев назад +4

      give a pinch of clojure and jruby for extra spicey

  • @gregxcelente4271
    @gregxcelente4271 5 месяцев назад +1

    I own a digital content business, and I love watching these videos without having any fucking clue about what you're talking about.

  • @KubikDezimeter
    @KubikDezimeter 5 месяцев назад +4

    Your videos are shorter than the compile times of my current project 💀

  • @WaxyLT
    @WaxyLT 5 месяцев назад +1

    2:24 I've been dreaming of a day when some form of boolean wrapper would be implemented. I had never tried Scala before. I already love Either.

  • @eoussama
    @eoussama 5 месяцев назад +4

    Basically Rust without a borrow checker. got it.

  • @WHYUNODYLAN
    @WHYUNODYLAN 5 месяцев назад

    Scala is a beast of a functional language. Up there with Haskell in terms of expressive power, and lacking the restrictions which generally keep Haskell code sane-ish. It's really cool to see some of the things it can be used for.

  • @thomasfoissy4829
    @thomasfoissy4829 5 месяцев назад +216

    Babe wake up

    • @itayluh7228
      @itayluh7228 5 месяцев назад +6

      lol this shit makes me think twice

    • @no_name4796
      @no_name4796 5 месяцев назад +14

      Babe ain't getting any sleep, with all the times she's been woken up

    • @ardnys35
      @ardnys35 5 месяцев назад +5

      why

    • @Simon-yf7fo
      @Simon-yf7fo 5 месяцев назад +2

      why

    • @reiskoryphae
      @reiskoryphae 5 месяцев назад +4

      Wakey wakey

  • @abc_cba
    @abc_cba 5 месяцев назад +1

    Java was so difficult for me that I chose Scala and never regretted (except for the backwards compatibility issues, here and there, a few).

  • @AleksandarStefanovic
    @AleksandarStefanovic 5 месяцев назад +5

    I never realized how heavily Kotlin is inspired by Scala, they look almost exactly the same in these examples!

    • @tewecske
      @tewecske 5 месяцев назад

      Yet they are sooo different.

    • @ukasztrojanowski3149
      @ukasztrojanowski3149 5 месяцев назад +3

      By the time Intellij created Kotlin they had years of experience with Scala due to their work on the Scala plugin for Intellij. I think I read somewhere they, actually considered using Scala for development of Intellij, but decided to create their own language, due to their unique requirements of having to be compatible with old jvm versions (at the beginning going as far back as java 6), which Scala didn't support

  • @Micha-mx8ii
    @Micha-mx8ii 5 месяцев назад

    I had a Scala course at uni, and I think it was the best language I've ever used. It's amazing, I don't know why, but something about it just made me immediately fall in love with it and makes me want to pursue a career using that language. Too bad there are not many scala developers positions, especially with no experience

  • @uselessandempty
    @uselessandempty 5 месяцев назад +3

    scala 3 is something... really hard for me to go back to anything else.

  • @Jere1515
    @Jere1515 5 месяцев назад

    Finally!
    I'm using Scala in my job everyday. It may look difficult to learn, but I think it's just because people are not used to the functional programming paradigm. It's not that hard, and you get a lot of safety directly from the type system, and thus at compile time. One of the main ideas in scala is to try to catch errors at compile time instead of at runtime, and thus through monad (hence the Option, Try, Future, etc...)
    Monads scare people but it's just a wrapper around data, and through the wrapper you have access to features and composition.

  • @ZelenoJabko
    @ZelenoJabko 5 месяцев назад +4

    safeDivide can be better implemented like this:
    Option.when(y != 0)(x/y)

    • @paw565
      @paw565 5 месяцев назад

      🤓

    • @Jebusankel
      @Jebusankel 5 месяцев назад

      I've written a fair bit of Scala and I didn't know this. Thanks!

    • @CernyMatej
      @CernyMatej 5 месяцев назад

      Then you should also check Either.cond

  • @rahulgurung1645
    @rahulgurung1645 5 месяцев назад +2

    2 videos in a row? You're a machine

  • @teamllr3137
    @teamllr3137 5 месяцев назад +4

    Thanks to Chisel and scala to save us from VHDL
    (And thanks to our Swiss compatriot 🇨🇭)

  • @neutronstar03
    @neutronstar03 5 месяцев назад

    a decade ago I came near to learning this esoteric language. its conciseness it's also it's curse, in 15 lines you can express the sense of life, and reading that in a year makes you die inside

  • @cryingwater
    @cryingwater 5 месяцев назад +3

    As a Kotlin developer, I will call myself a Scala developer as well

  • @toughcoding
    @toughcoding 5 месяцев назад +1

    I am enjoying scala everyday. Thank you!

  • @gradientO
    @gradientO 5 месяцев назад +10

    Got interested in Scala after last year's Advent of Code

    • @LUNTE1337
      @LUNTE1337 5 месяцев назад

      What was it about Advent of Code last year that drew your attention to Scala? I’ve done other years‘ AOC and don’t get the context.

    • @gradientO
      @gradientO 5 месяцев назад +3

      @@LUNTE1337 lots of elegant functional submissions in scala and clojure. Also first time doing AOC

  • @immortal4412
    @immortal4412 5 месяцев назад +1

    Now I have 100 seconds of experience in Scala, Thanks.

  • @jeromearenas8028
    @jeromearenas8028 5 месяцев назад +2

    Hmmm maybe I give it a try. Any pointers?

    • @DumblyDorr
      @DumblyDorr 5 месяцев назад +4

      "Rock the JVM" has almost everything you need on RUclips - plus accompanying articles. The official documentation isn't bad either - and I would definitely recommend looking into the ZIO ecosystem.

    • @jeromearenas8028
      @jeromearenas8028 5 месяцев назад +1

      @@DumblyDorr thank you kind sir

  • @Winium
    @Winium 5 месяцев назад +2

    Should mention the trend of "scalaification" of many common langauges lol. Btw Scala's name means "Scalable Language" in the sense of scaling to a team's needs for a language, i.e. creating DSLs.

  • @Gkcrafting
    @Gkcrafting 5 месяцев назад +3

    Keep on going, your videos are 🔥

  • @achtbaan
    @achtbaan 5 месяцев назад +1

    Sounds very useful, will try soon

  • @patenlikoyun
    @patenlikoyun 5 месяцев назад +53

    First 100 seconds of scala is magical. Then it starts to bite.

    • @vsolyomi
      @vsolyomi 5 месяцев назад +9

      and if the venom kills you it's immutable...

    • @theseangle
      @theseangle 5 месяцев назад +2

      Can you elaborate on that please

    • @lestaironblack1259
      @lestaironblack1259 5 месяцев назад

      👀

    • @patenlikoyun
      @patenlikoyun 5 месяцев назад

      @@theseangle it's like [][[~]

  • @yewo.m
    @yewo.m 5 месяцев назад +1

    Wow, it seems like Kotlin took a lot of its syntax from Scala, which I wasn't expecting as someone who's been using Kotlin in the past couple of years

  • @FeLiNe418
    @FeLiNe418 5 месяцев назад +19

    Kotlin is not worthy of being mentioned as a JVM language?

    • @Sp1tfire100
      @Sp1tfire100 5 месяцев назад

      It is not. They just stole all features from scala and c# and sell it in shiny ide

    • @x1nto
      @x1nto 5 месяцев назад +2

      @@Sp1tfire100 There's no such thing as stealing in the language world, grow up.

    • @leysont
      @leysont 5 месяцев назад +1

      @@Sp1tfire100 Go back to C then

  • @CodeMeng
    @CodeMeng 5 месяцев назад +1

    Just for clarification,
    02:03 it should type like Monad, not Monoid.
    02:31 because the Future type of use concept of executors (Thread Pool and ForkJoinPool) like an invisible process. It will be a good chance to talk about the implications concept. to using the implicit syntax.
    However, the overall quality of video is good. It covers almost whole concept of scala. Many Thanks.

  • @Micha-ohne-el
    @Micha-ohne-el 5 месяцев назад +17

    As a Kotlin developer, this entire language is giving me deja vu

    • @Nojipiz
      @Nojipiz 5 месяцев назад +1

      Kotlin? What is that? Scala-- ?

    • @Sp1tfire100
      @Sp1tfire100 5 месяцев назад +1

      Cause they copied scala+c# and sell it with shiny IDE

    • @pixelated-loser
      @pixelated-loser 5 месяцев назад

      Fr looks like kotlin took some inspiration from scala also

  • @FindSimpleGuides
    @FindSimpleGuides 5 месяцев назад

    Its capacity to interoperate with Java libraries, lack of boilerplate code and benefits of null safety stood out for me.

  • @tortoiseshell_cat
    @tortoiseshell_cat 5 месяцев назад +30

    Yes of course who needs simplicity when you can have both Java's verbosity and functional headaches?

    • @Nojipiz
      @Nojipiz 5 месяцев назад +2

      That is called skill issue bro :v

    • @SnLeo-zx6qy
      @SnLeo-zx6qy 5 месяцев назад

      hm.. there we go

    • @paw565
      @paw565 5 месяцев назад

      What language do you consider simple sir?

    • @deagin3830
      @deagin3830 5 месяцев назад +2

      @@Nojipiz got em

    • @turolretar
      @turolretar 5 месяцев назад +1

      That’s why I use shell scripts to write everything. Simple, effective and has basically 99% support.

  • @arno.claude
    @arno.claude 5 месяцев назад +1

    Time to add Scala to my resume. Thanks, Mr. Ship!

  • @paraIIIax
    @paraIIIax 5 месяцев назад +8

    Lets maybe not abreviate Functional Programming Language as "FUN" and put it under Scheme, dont want to miss lead people

  • @Fabian5150
    @Fabian5150 5 месяцев назад +2

    Have tried Scala with Akka before (framework for parallel computing). Can really reccomend it.
    Akka is also availabe for Java and it's really funny to compare the code examples in the docs from Java and Scala and see how a lot of the times 8 lines of Scala can do the same as 25 lines of Java.

    • @noelgallagher3646
      @noelgallagher3646 5 месяцев назад

      Pekkos now. Akka changed their licence

    • @kubukoz_
      @kubukoz_ 5 месяцев назад

      using Akka/Pekko for parallel computing is like using a nuclear engine to power a single lightbulb. There are far simpler tools you can use for that.
      If you want distributed stateful systems, though... yeah you want something like akka cluster :)

  • @catalinjurjiu5803
    @catalinjurjiu5803 5 месяцев назад +6

    kotlin has everything mentioned here and some of it is more concise...so far kotlin feels like scala++

  • @theeldest263
    @theeldest263 5 месяцев назад +1

    Scala added to my resume

  • @_ByteBuster
    @_ByteBuster 5 месяцев назад +3

    i use arch btw

  • @j_stach
    @j_stach 5 месяцев назад

    I thought I didn't care about Scala but each sentence you just said made me like it more and more

  • @sourabhravi490
    @sourabhravi490 5 месяцев назад +3

    First

  • @geekwithabs
    @geekwithabs 5 месяцев назад +1

    A video about Scala? I legit checked the date to see if I was transported back to 2014.

  • @swaggitypigfig8413
    @swaggitypigfig8413 5 месяцев назад +5

    No views in 16 seconds. Bro fell off. 😢

  • @sanusihassan7125
    @sanusihassan7125 5 месяцев назад +2

    The only channel I'm waiting notifications from

  • @davidbarnes6672
    @davidbarnes6672 5 месяцев назад

    This feels like the first truly intutive programming language I've come across

  • @marjohntomatao4401
    @marjohntomatao4401 5 месяцев назад

    finally, found a review in scala! been training with the language itself for 4 weeks now.

  • @sagnumb
    @sagnumb 5 месяцев назад

    wow finally some recognition from popular youtube channel! everyone need to move to scala now!

  • @fr0xk
    @fr0xk 4 месяца назад

    That's a weird ass syntax with Scala and makes sense at the same time