News for hackers. Stuff that matters.
Re:Java is the COBOL of my generation and Go is its successor by mseepgood on Friday May 02, 2014 @02:34PM (#7687320)
It's not a problem, because you can simply use product types, so you don't have to extend the language with yet another concept. For the Maybe monad / Option types you'd need lots of additional cruft like parametric polymorphism and probably something like the 'do' notation to make monads bearable. Go would lose all its charm of simplicity. Go would be another Haskell or ML, and we all know that these languages have failed to become successful by ignoring the human aspect of programming. We'd end up with articles like this http://www.haskell.org/haskellwiki/Typeclassopedia , longer than the entire Go specification.
Re:Java is the COBOL of my generation and Go is its successor by azth on Friday May 02, 2014 @02:38PM (#7687337)
Haskell and ML are practically FP oriented. You might want to check out Rust for a language that is not purely FP oriented (it is multi-paradigm), yet attempts to take pragmatic choices from such languages. There seems to be a good community response to it.
Re:Java is the COBOL of my generation and Go is its successor by mseepgood on Friday May 02, 2014 @02:52PM (#7687406)
The community response seems to be mostly from people who like to talk about programming language features all day without actually using it for real projects.
Re:Java is the COBOL of my generation and Go is its successor by azth on Friday May 02, 2014 @03:36PM (#7687662)
I think that's pretty unfair. Rust has not even reached 1.0 yet, and there are already some cool projects being implemented. There were even a couple of games written in Rust for Ludum Dare, not to mention at least one case of use in production.
Re:Java is the COBOL of my generation and Go is its successor by pcwalton on Monday May 05, 2014 @09:47PM (#7702449)
Is Servo not a real project?