Elm and Web Components - Richard Feldman

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

КОМЕНТАРІ • 11

  • @nelsonc5339
    @nelsonc5339 8 років тому +3

    19:40 - where he describes the "Time Travelling Web Components" (_great talk as usual Richard!_)

  • @hotscriptgg
    @hotscriptgg 7 років тому +6

    the best hairstyle ever in the front row :D

  • @AdamSchelenbergCom
    @AdamSchelenbergCom 7 років тому +8

    Oh, man, I thought who the hell did a great job at NoRedInk. Great company, I'm using their services to up my English grammar )

  • @Алексей-е9х5л
    @Алексей-е9х5л 8 років тому +7

    How about ELM for PWA?!..

    • @nikgraf6972
      @nikgraf6972 8 років тому

      I asked Richard on Twitter and it seems like not yet so far: twitter.com/rtfeldman/status/808837008005033984

    • @Алексей-е9х5л
      @Алексей-е9х5л 8 років тому +1

      Nik Graf Ask him about ELM roadmap! I can't find it..

    • @nikgraf6972
      @nikgraf6972 8 років тому

      You can find it here: github.com/elm-lang/projects for the language itself

    • @h3rteby
      @h3rteby 6 років тому +1

      All you need to be a "PWA" is a manifest.json and a service worker. There's not many differences from a plain website, you could easily do that with Elm. If you need some special features you can do with JS and ports.

    • @shalokshalom
      @shalokshalom 5 років тому

      @@h3rteby Like database?

  • @LizardanNet
    @LizardanNet 8 років тому +3

    no run-time exceptions = errors are swallowed

    • @GagePeterson
      @GagePeterson 7 років тому +29

      Elm (almost always) doesn't swallow errors, it actually requires you to handle them. You could just ignore them but you would have to do so knowingly. For instance, if you're getting the first element of the list it won't just give you the item or Null it will give you a `Maybe value` which requires you to write conditional logic around the "nothing there case" and the "something there" case to get the value out. Not doing so would not compile.