Live data from Hacker News

Viewing profile — wheatBread

wheatBread

HN member
Joined
Wed, Dec 07, 2011, 3:55 AM UTC
HN karma
759
Public activity
60 items

About wheatBread

No profile information was provided.

Recent public activity

  1. comment
    Comment #17810814

    I updated the official guide ( https://guide.elm-lang.org/ ) to try to do a better job at that. It covers "routing" and JS interop much more clearly I think. So I recommend startin…

  2. comment
    Comment #12391272

    It "scales well" because of shouldComponentUpdate. That lets you avoid building huge chunks of virtual DOM as your app becomes very large. The trick is that the same exact optimiza…

  3. comment
    Comment #11670039

    I think it is worthwhile stopping by the Elm slack channel to ask this. You have framed the question in a weird way. The answer is kind of "these things are not really related in a…

  4. comment
    Comment #11669295

    Definitely not ignoring. I talk about the relation between Elm and that sort of stuff in https://youtu.be/Agu6jipKfYw Lots of things look similar in this area that are not. I also …

  5. comment
    Comment #11668040

    They key difference is that when you create an event emitter in JS, you now have a resource to manage. Where does that go in your app? In each component? How does the component kno…

  6. comment
    Comment #10083128

    That's Standard ML for you ^ I'm excited that Haskell could bring more developers to ML-family languages.

  7. comment
    Comment #9810226

    You need a garbage collector either way, so doing one implies you have pretty much succeeded at the other. So it's like two stepping stones that are right next to each other and qu…

  8. comment
    Comment #9808326

    I think so! I'd like to get Elm running way faster than JS in browsers (which is possible thanks to some design choices) and that'd involve getting all this together. That opens th…

  9. comment
    Comment #9064218

    You can do stuff in JS really easily with [ports]( http://elm-lang.org/learn/Ports.elm ). The TodoMVC example in Elm does this to use localStorage: https://github.com/evancz/elm-to…

  10. comment
    Comment #9064183

    I think the core ideas can be used in many settings, that is true. One can use a pattern like this in C if they want. I think there are a couple questions to consider when asking "…

  11. comment
    Comment #8732064

    At one point we were trying to name every part of a union type in Elm. Calling things "tags" instead of "constructors" seemed quite nice, but ultimately, it seemed like we couldn't…

  12. comment
    Comment #8730594

    We discussed this to death on the mailing list, and this was definitely a consideration! People searching for it online will very likely be searching for "elm union type" where the…

  13. comment
    Comment #8730426

    I started looking into Rust again while picking the term "union type" because of their choice to use the term "enum". I ran into the Result type in some code I was reading and it j…

  14. comment
    Comment #8730361

    Yeah, this is in for 0.14. I forgot to mention it in the announcement, but Jason deserves a huge thank you for this improvement!

  15. comment
    Comment #7863070

    The debugger has been available online for a while ( http://debug.elm-lang.org/ ). It explains how it works and has some more interesting examples than stamps :)

  16. story
  17. comment
    Comment #7775791

    Ah, cool! I think he told me about this work when we chatted at ICFP last year, but wasn't able to find it. So thanks for the link!

  18. comment
    Comment #7775761

    Type inference works on all Elm programs, but it's best practice to add type annotations. In the WebGL examples, I felt it made things a bit clearer since folks are probably not fa…

  19. comment
    Comment #7775221

    The most novel stuff was about how to handle asynchrony and concurrency without unexpected/unwanted glitches, though I think formulating things in a way that is simple, accessible,…

  20. comment
    Comment #7774297

    Whoa, I'm surprised to hear that I "didn't know anything about FRP when I made Elm". A huge part of developing Elm was doing literature review and making new contributions to FRP (…

  21. story
  22. comment
    Comment #7686649

    It's about mutability vs immutability. I think Zach explains the whole idea of immutable arrays really well: http://www.infoq.com/presentations/julia-vectors-maps-sets

  23. comment
    Comment #7594461

    Elm normally generates tags that are pretty good. It has come in and out of the compiler for various reasons, so it should be back in again at some point. Sorry for the trouble!

  24. comment
    Comment #7594048

    The project is supported by Prezi with the aim of making it production ready ( http://engineering.prezi.com/blog/2013/05/21/elm-at-prezi/ ) and all development effort is focused on…

  25. comment
    Comment #7593395

    That was a really fun and inspiring workshop! If you are interested in concurrency in browsers, there were two interesting talks about that ( https://www.youtube.com/watch?v=PBDJYk…