Richard Feldman - Exploring elm-spa-example

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 13

  • @LourensRolograaf
    @LourensRolograaf 5 років тому +4

    I like the soup-salad-chicken theorem

  • @nelsonc5339
    @nelsonc5339 5 років тому +9

    “Definitely don’t spoon chicken...”

  • @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.

  • @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