Earlier quoted context omitted.
> Trying to do any sort of open-source development without a library sandbox, in any language, is madness. I agree, but there're some interesting differences in how different language tools implement a sandbox. Python and Haskell (with Virtualenv and Cabal-dev/sandbox) have separate local repo/caches in which packages are installed (this is useful if you want packages in a reliable location to install executables) Ru…
I think a big part of the issue is that - because of the way Haskell's cross-module inlining works - you need to generate different artifacts not just for each version you use but for each set of dependencies chosen for each set of flags set for version you use. I think this strips away much of the benefit of the second approach.
Haskell Is Exceptionally Unsafe (2012)
101–110 of 125 posts
Re: Haskell Is Exceptionally Unsafe (2012)
#102Earlier quoted context omitted.
He's probably saying that he things the next big thing will be strict by default and feature a neat module system.
Yes, that's close! I also think that we'll need a better treatment of effects than either ML or Haskell can give us, but I hope to have something that has been carefully thought about, rather than bolted on like Haskell's effects. It sounds like call-by-push-value gives a nice unifying approach to CBN/CBV and also effects. I am hoping that something interesting will come out of that work.
Re: Haskell Is Exceptionally Unsafe (2012)
#103Earlier quoted context omitted.
It's remarkably easy to understand if you're already used to monads. Levy's thesis is a bit opaque from that POV, but not unpleasant to read.
Hmm, really? I just read a couple of papers linked from his website, but I'm still not feeling enlightened.
Re: Haskell Is Exceptionally Unsafe (2012)
#104Earlier quoted context omitted.
I'm learning F# right now, it's flipping excellent! From what I understand it's similar to Ocaml, but has some other features that give it the edge (for me at least). I did try to learn Ocaml at one point, but I was put off by the standard library variation (the default one apparently has numerous shortcomings, Batteries project extends it and Core project aims to replace it, but neither one is the clear winner) and…
Thanks a lot for these infos! Unfortunately F# is .NET only. Linux requires Mono for installation which means a lot of dependencies. I prefer small efficient solutions (Nimrod for instance). OCaml works out of the box on my system.
Re: Haskell Is Exceptionally Unsafe (2012)
#105Earlier quoted context omitted.
Thanks a lot for these infos! Unfortunately F# is .NET only. Linux requires Mono for installation which means a lot of dependencies. I prefer small efficient solutions (Nimrod for instance). OCaml works out of the box on my system.
Rare language has both .Net and JVM support, probably only Clojure now. On the upside you can build iOS and Android apps using F# plus many other gaming platforms.
Re: Haskell Is Exceptionally Unsafe (2012)
#106Earlier quoted context omitted.
> every other language which uses a package manager has > one that works out of the box without any hassle and > without any sandbox tricks. I have programmed professionally with C, C++, Go, Haskell, Java, Javascript, Python, and Ruby. While this is not "every other language", I feel it's a sufficient cross-section to be useful for the purposes of this thread. Trying to do any sort of open-source development without…
Thanks for your detailed answer. I think you are right in recommending a way of less tight version bounds.
Re: Haskell Is Exceptionally Unsafe (2012)
#107Earlier quoted context omitted.
But isn't this a variant on the old "but it's Turing-complete, therefore you can do anything" fallacy? Sure, their type system may be similar, but the question is, which one will let you write, say, a robust, maintainable HTTP client with the least amount of pain?
I suppose that's true. I guess in my eyes DTs are such a meteoric difference that Idris is not sufficiently more interesting than the others yet. But time will tell if they manage to build a better way to manage proofs, for instance, they could really change the game.
Re: Haskell Is Exceptionally Unsafe (2012)
#108Earlier quoted context omitted.
It's remarkably easy to understand if you're already used to monads. Levy's thesis is a bit opaque from that POV, but not unpleasant to read.
Hmm, really? I just read a couple of papers linked from his website, but I'm still not feeling enlightened.
Re: Haskell Is Exceptionally Unsafe (2012)
#109Earlier quoted context omitted.
I suppose that's true. I guess in my eyes DTs are such a meteoric difference that Idris is not sufficiently more interesting than the others yet. But time will tell if they manage to build a better way to manage proofs, for instance, they could really change the game.
That there is no game-plan for doing anything any better than Coq presently does is why I'm a bit skeptical. The trimmings are nicer - nothing else as of yet.
The blunt truth is that at the end of the day Haskell works today, period, and until someone actually forks or starts writing a new language very little of these criticisms of Haskell actually matter if the answer to "what should I use for my project at work" is "well it doesn't exist yet, but it has modules and extensionality and a magical pony that shits money".
Re: Haskell Is Exceptionally Unsafe (2012)
#110Earlier quoted context omitted.
> I haven't run into too many (particularly when compared to the popularity of exceptions in other languages). This doesn't mean much if you take a language like Java where it is the idiomatic way of handling errors. But take something vaguely complex like http-client (formerly http-conduit) and you get exceptions. > Have you tried using Either with a sum error type and/or an error typeclass? Well, even with sum type…
>Well, even with sum types you get "god errors" which encapsulate all kinds of issues that can happen in your exception, What's the alternative? Failing to encapsulate all kinds of issues that can happen?