Live data from Hacker News

Viewing profile — zoomerang

zoomerang

HN member
Joined
Tue, Feb 04, 2014, 3:03 AM UTC
HN karma
201
Public activity
69 items

About zoomerang

No profile information was provided.

Recent public activity

  1. comment
    Comment #8971235

    Haskell functions return side-effects using the IO type, with the boilerplate plumbing being hidden with monads and do-notation. "main" in Haskell by default has a return type of "…

  2. comment
    Comment #8902973

    Typescript is really starting to look quite compelling. If we could have null-safety and ADTs I'd be using it in a heartbeat.

  3. comment
    Comment #8650406

    Really, the only reason Javascripts future looks very bright is because it has a monopoly - it's the only language that runs in the browser. Javascript is a great language for what…

  4. comment
    Comment #8518876

    I can remember this switch back in the day, but for some reason my memory has failed me. I could have sworn the original was in Haskell, not Lisp. Selective memory I guess.

  5. comment
    Comment #8441253

    As somebody with more experience with Haskell and Scala than Clojure - how to Transducers differ from Functors in Haskell? On the surface they seem very similar.

  6. comment
    Comment #8411785

    Out of curiosity, what's difficult about that mutable array implementation? I'm a relative Haskell novice, but was able to write some mutable array code with only a cursory read th…

  7. comment
    Comment #8409353

    First up - I'll preface my reply below with a big disclaimer that I'm a relative notice with Haskell, so these are purely my opinions at this point in my learning curve. > What's "…

  8. comment
    Comment #8409058

    No specific reason really. I didn't think about it at the time, that's just how I typed it. Probably because C is a single letter, and thus potentially needs some differentiation f…

  9. comment
    Comment #8408927

    > that is altar upon which you sacrifice the abilitity I see statements like this all the time from people that either fundamentally misunderstand Haskell, and use to have the same…

  10. comment
    Comment #8408878

    Well yes and no. GHC does a pretty good job of warning you when you're missing a potential option in a pattern match, and it's generally pretty easy to write code that avoids parti…

  11. comment
    Comment #8408749

    > The idea that compile-time checks is much better than runtime checks is also not obvious (Java's and other commercial languages nonsense about type safety aside - Java is no more…

  12. comment
    Comment #8408745

    Not really. The point of Haskell is not to avoid having side effects. The point of Haskell is to allow code to be referentially transparent - this makes it both easier to reason ab…

  13. comment
    Comment #8408475

    Out of curiosity, have you tried F#? It's a substantially nicer language than Javascript, and there's a lot of problem domains that are far easier solved in it. People wouldn't use…

  14. comment
    Comment #8381106

    "Quick" - sure. HTML5 lets you spin up UIs fairly quickly. "Powerful" - I'm not so sure. Generally I find native toolkits, while requiring a bit more effort up front, generally yie…

  15. comment
    Comment #8381105

    For simple apps, HTML5 works fairly well. But you quickly run into problems. My company has been working on a cross mobile application in HTML5 using Cordova. It was quick to proto…

  16. comment
    Comment #8379584

    Yes. Java can be compiled to native machine code via GCJ, and can expose a normal C++ Api. Whether you'd want to do this or not is another story. C# and Xamarin would be a far bett…

  17. comment
    Comment #8379555

    > JavaScript is the only language that let's you target every platform Ironically, the three languages you listed - Java, C#, and Objective-C are all available on all major platfor…

  18. comment
    Comment #8366938

    "Shitty" may not be the right word, since C#'s type system works fairly well for its problem domain. The point is that the type systems found in C# and Java are conservative and in…

  19. comment
    Comment #8366872

    > generic is really useful Container types are the most obvious. Lists, Arrays, Dictionaries, Vectors, Stacks. You'd be hard pressed to find code that doesn't use a container type …

  20. comment
    Comment #8366498

    > Am I the only one agrees with the author that generics probably do more harm than good It's really the same debate as 'Dynamic' vs 'Static' languages, since without generics your…

  21. comment
    Comment #8135323

    The problem with raw SQL queries is that they don't compose. Using an ORM, I can do two things. 1. Pass around query objects, and build queries derived from others. I can also comb…

  22. comment
    Comment #8083717

    I went into FP from the perspective of a Python/Javascript/Groovy zealot, considered FP to be a silly academic thing with no real world applications. Took me about a week to be pro…

  23. comment
    Comment #8045524

    Having substantial experience running a startup on Scala (Not OCaml, but many of the same aspects apply) I'm going to throw my 2c in. > There is not a strong community behind OCaml…

  24. comment
    Comment #7963255

    Monadic futures are a fairly effective solution to the problem. No callback hell, just a clean linear flow of imperative looking non-blocking code that runs concurrently but still …

  25. comment
    Comment #7963232

    I can't wait for somebody to hack this and make every Tesla on the planet start honking at the same time. (Presuming there's a 3G hookup of some kind going on here)