4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
I'm disappointed that you appear to judge technology based on popularity. By this argument, JavaScript trumps Java.
> And supposedly Haskell is easier (according to the parent comment) but at the same time needs people to try harder to get it than Java? It can't be both...
I can assure you, having learned both, that understanding Java and all its idioms/patterns is at least as hard as learning Haskell, especially if one seeks to build concurrent software (where the intricacies of Java's complex memory model cannot be ignored).
Because of the immense amount of investment already made, likely these people give up when they realise they cannot make much use of it in Haskell, at least not at first.
> No, but it was the new novelty on greenfield staff.
You've made an incorrect assumption. The Haskell codebases I have worked on, in both cases, have been large and over a decade old.
Anyway, my original post was about the controversy of subtyping, not Haskell versus Java.
comment 9y ago · link · parent
Where I work we do have some business people successfully writing Haskell.
I've worked on very large codebases in many large organisations with C++, Java and Haskell. Haskell certainly wasn't the horror story.
comment 9y ago · link · parent
comment 9y ago · link · parent
The benefits of laziness is difficult to appreciate if you are not used to it. For a great example of the benefits it brings, please read this:
http://augustss.blogspot.co.uk/2011/05/more-points-for-lazy-...
comment 9y ago · link · parent
One cannot easily and safely do functional programming in Python due it's imperative semantics. For example variables are captured as mutable references and even a list comprehension will mutate its bindings.
If you want to do serious functional programming, use Clojure, Haskell and/or OCaml.
Edit: to the downvoters, it's about using the right tool for the job.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
Both extensible records and open recursion can be achieved with ADTs, so why do we need inheritance with all its problems? You still haven't explained this.
I lumped inheritance and OOP together as this is what is typically packaged and available for us to use.
It is true that more principled traversals (e.g. catamorphisms) only match one level deep, but pattern matching is still a convenient and high-level syntax in such cases. Pattern matching would also complement e.g. attribute grammars.
comment 9y ago · link · parent
In Haskell, my current FP language of choice, I can implement a complex transform such as Lambda lifting in a few 10's of lines of readable idiomatic code.
comment 9y ago · link · parent
comment 9y ago · link · parent
Open-source can compete on many fronts and offers many other advantages (i.e. freedom), but on a pure ease-of-use assessment, I do not agree with you that Gnome or KDE could sway the parent, if Ubuntu completely failed to do so.
comment 9y ago · link · parent
My point was that there are quality open-source projects out there, after you appeared to assert otherwise. But ease-of-use is not something developers/startups seem to be interested in spending time on.
If you want me to qualify stable, then let's compare Apple's bidirectional iCloud sync to Unison, or Time Machine to ZFS snapshots.
comment 9y ago · link · parent
I use a desktop (i3), package manager (nix), editor (Emacs), programming language (GHC Haskell), file system (ZFS), bidirectional sync (unison) and security (gnupg) that are collectively far more innovative, powerful and stable than anything Apple have ever produced.
Of course, if you are specifically looking for consumer tech, ease of use and support, then open source probably isn't for you.