Martin Odersky - Simply Scala

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มี.ค. 2023
  • Opening keynote
    Scala lets us write beautifully simple code. It incurs very low boilerplate and does not restrict expression in arbitrary ways. Scala itself is also quite a simple language, with few constructs that compose well. On the other hand, Scala is often described as difficult.
    I believe this criticism is not so much directed at the language itself but at certain libraries, frameworks and applications written in Scala. In my talk I want to raise this problem, and start a discussion how the Scala ecosystem can do better.
    Slides : drive.google.com/file/d/1gvFA...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 20

  • @michaelthomson5125
    @michaelthomson5125 ปีที่แล้ว +4

    Great talk and it's nice to see Martin focus on simplicity.
    We just need to get everyone moved to Scala 3 ASAP so everyone can realise the benefits.

  • @RolfRochen-yb6sq
    @RolfRochen-yb6sq 9 หลายเดือนก่อน +1

    Great talk, leading back to Scalas strength in combining functional AND imperative programming. Whereas Scala has been taken over more and more by the FP folks the last few years which I didn’t like because both worlds having their advantages and disadvantages. Great move with Caprese. I am really looking forward to it. 👍

  • @draakisback
    @draakisback 8 หลายเดือนก่อน +1

    Bro is sporting a cartier tank, absolute boss.

  • @che5ari
    @che5ari 4 หลายเดือนก่อน

    Always interesting to hear Martin Odersky's talks. I liked this one: "cats blows it out of the water..." at 15:59. Hit the nail on the head, so to speak. Scala as a language is a very fine language and like a lot of people I learnt it from the wonderful MOOCs given by Martin. The main gripe I've always had is the tooling around it. Martin of course mentions "sbt". In comparison, I can fire up vim or emacs and be very productive in C++, Rust, Haskell in pretty short order. Not so with Scala: there's sbt, bloop, metals and so on and they never quite work well together and something always ends up going wrong distracting from the main activity of writing code. Top notch tooling and less language features would have made Scala more successful IMHO.

  • @DomainObject
    @DomainObject 10 หลายเดือนก่อน +3

    Funny how Martin equates pure FP with being complex. Taken to the extreme, absolutely yes it is complex. Any paradigm or approach is complex when taken to the extreme.
    However when used judiciously (especially using a functional core, imperative shell approach), I’d argue that it is much simpler than the alternatives.

  • @scosminv
    @scosminv 9 หลายเดือนก่อน

    I loved the common sense and pragmatism. Will retry approaching Scala 3 again soon!

  • @vasanthvel501
    @vasanthvel501 ปีที่แล้ว +6

    Scala is fun

    • @chillbro2275
      @chillbro2275 10 หลายเดือนก่อน +1

      I'm hoping so.

  • @keep_coding
    @keep_coding 10 หลายเดือนก่อน +3

    Most of the suggestions from this video simply means use Java or Kotlin :/ Most stuffs that I associate with Scala are being said as discouraged... Am I the only one?

    • @draakisback
      @draakisback 8 หลายเดือนก่อน +1

      Yes and no. He's saying to use context to determine when to use the higher abstractions, that you can write good code without having to overcomplicate things. Aka, some devs will use object oriented design regardless of the use case while others will use functional design regardless use case due to dogmatic reasons when in reality they should be picking the tool that works the best for the case.

    • @TJ-hs1qm
      @TJ-hs1qm 7 หลายเดือนก่อน +1

      People went bananas with Scala early on. Most business requirements aren't very complex and pretty dull, but they still threw all sorts of advanced concepts at simple tasks just for the enjoyment of it and to gain knowledge. No one needs to learn Category Theory in order to understand something as simple as an http route. Yea many cool features utterly misused.

    • @draakisback
      @draakisback 7 หลายเดือนก่อน +1

      @@TJ-hs1qm that's the story of software in general. Overcomplicating a problem without having an adequate reason to do so.

    • @richcaputo2929
      @richcaputo2929 2 หลายเดือนก่อน

      IMO he's trying to say that people are using Scala's properties to adhere to dogmatic principles which isn't necessary or a good idea. Coming from a mainly pythonic background, I always felt this way about Scala, but it has the ability to be very readable and elegant while preserving its functional ideologies.

  • @CalmHive
    @CalmHive ปีที่แล้ว +1

    lol, even the people creating the coding languages are copying and pasting stuff they don't understand from the web... 25:30

  • @AbhishekVaid
    @AbhishekVaid ปีที่แล้ว +2

    As someone who handled complex code in scala I can say that it's not a simple language. Not by a long shot. 1:38

    • @encapsulatio
      @encapsulatio ปีที่แล้ว +3

      And what programming language gives you the ergonomics of Scala 3 current features but in a way simpler language that composes those features with much simpler primitives?
      Also i doubt you actually watched the whole talk.

    • @ZeZeBatata69
      @ZeZeBatata69 ปีที่แล้ว

      @@encapsulatio Shut it fanboy.

    • @CallistoPili
      @CallistoPili 9 หลายเดือนก่อน

      there is a library in Scala3 specifically crafted for Hardware electronics design Chisel and SpinalHDL, the main challenge in Scala is to get something effective productive and manageable using high level testable description. Still evaluating how all of this can fit for an Electronic Engineer where the main focus is not writing software tout court.

  • @chuckles2040
    @chuckles2040 11 หลายเดือนก่อน +3

    martin should never be allowed to touch another programming language. Same thing with C++ bjarne. two professors that have no real world experience, creating PAIN in the industry.