4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
It has been said that Haskell is the world's best imperative programming language: https://stackoverflow.com/questions/6622524/why-is-haskell-s...
comment 7y ago · link · parent
It's not black and white. FP is more like a spectrum, with pure functional programming more towards the opposite end, just before total functional programming. Put another way, adding lambdas to Java does not make it like Haskell. Even Scala cannot effectively be used as Haskell substitute, as some in that community eventually realised.
It remains to be see how much of FPs benefits (composition, abstraction, reasoning) can be fully realised in languages with rampant side-effects and mutation.
comment 7y ago · link · parent
comment 7y ago · link · parent
My point is that writing a GC for Java has in fact proved very difficult. It took Sun and Oracle many man years and different GC designs to get where they are today. So it seems Java also needs a "good" concurrent GC. With both functional and OOP languages generating a lot of garbage and sharing language features, I don't see a big difference in requirements in practice. And sure enough, Clojure/Scala seems to work well using the JVM GC and F# seems to work well with the .NET GC too.
I think the burden of proof rests with you and your statement that the concurrent GC situation is somehow more challenging for an FP language.
> I only accept CS papers about it
Me too
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
I wouldn't say my situation is great, most jobs are Java jobs :)
comment 7y ago · link · parent
comment 7y ago · link · parent
Do you have proof of this? I suspect they failed because everyone decided to copy the Mac which was trying to emulate a real desktop with bits of paper on it.
> Super limited "tiling" window managers do make sense with such limited UIs.
They also often make sense for complicated UIs, e.g. IDEs such as Visual Studio and browsers such as Firefox, which have docked sidebars and tabs in preference to overlapping windows.