Richard Feldman - Exploring elm-spa-example

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

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

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

    I like the soup-salad-chicken theorem

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

    You know, anytime I expose Msg in any kind of library code, I wind up regretting it. And it's also a really big newbie trap... I wonder if Evan is considering making that a new package rule, like, packages allow Debug.todo, it'd make sense to now allow security breach's from Msg as well.

  • @nelsonc5339
    @nelsonc5339 5 ปีที่แล้ว +9

    “Definitely don’t spoon chicken...”

  • @mskiptr
    @mskiptr 4 ปีที่แล้ว

    Well, imho the only case when getting new dependencies for everything would be acceptable, would be if we had formal verification of all that code.
    I mean if we wanted get an external sorting implementation it would need a type like
    (Ord a, Sorted ys) => [a] - > (ys::[a])
    and would need to be typechecked for totality.

    • @mskiptr
      @mskiptr 4 ปีที่แล้ว

      Also, there is a great example in the presentation - if the library operates on strings then it won't do any IO. Using types we can limit the vulnerabilities and potentially even eliminate them.

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

    That was a good joke about the dependencies, comparing it to somewhat with a process footprint of kilobytes and then bragging over the 10% reduction he did. Ignoring the Browser, the Elm compiler and the whole JavaScript mess this ecosystem is based on as dependency, is a form of art, too.

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

    Medium - Conduit ? What is the pun? I don't understand.

    • @poparasan
      @poparasan 5 ปีที่แล้ว +8

      (Wikipedia) A conduit, in esoterism, and spiritual discourse, is a specific object, person, location, or process (such as engaging in a séance or entering a trance) which allows a person to connect or communicate with a spiritual realm, metaphysical energy, or spiritual entity, or vice versa.
      Medium is another name for that kind of person.

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

      @@poparasan Thanks for clarifying.

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

      I'm pretty sure it's more about these definitions:
      Medium - The materials or empty space through which signals, waves or forces pass.
      Conduit - A means by which something is transmitted.
      (en.wiktionary.org)

  • @a0um
    @a0um 3 ปีที่แล้ว

    I wish he advised to just use bare hands for the chicken. :(

  • @DrJohnPollard
    @DrJohnPollard 5 ปีที่แล้ว

    I thought we were going to see a real app.

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

      I thought it will be about an app used by some health resort xD