Re:Scala – 1 Star – Would Not Program Again
by cryptos on Monday December 02, 2013 @04:15AM
(#6832632)
I tried Go for the same reasons. It looked to me like a statically typed Java, but in practice it was not the best experience. The Code is not more expressive than Java, but you lose all the good libs and tools from Java. Most annoying was the in ability to create concise mocks, because you cannot implement interfaces at runtime with Go.
Re:Scala – 1 Star – Would Not Program Again
by cryptos on Monday December 02, 2013 @08:29AM
(#6833462)
I wanted to say: "it looked to me like a statically typed Python"
Re:Scala – 1 Star – Would Not Program Again
by danieldk on Monday December 02, 2013 @03:36AM
(#6832517)
If you hadn't mentioned Go, you could have described Java with these bullet points (with the exception of the last). Why throw away all the proven libraries, extremely good garbage collector, IDEs, intrumentation? Java is a perfectly fine language and if you think it is too verbose, there are good other options such as Kotlin, Groovy (which offers static typing nowadays), Ceylon etc.
> Groovy (which offers static typing nowadays
Groovy's static typing is quite recent, written by one person only, and not actually used in many codebases. Neither Grails nor Gradle uses it.
There's only really 2 or 3 use cases for Groovy:
* quick & dirty scripts for Java class testing and manip
* Grails
* more recently, Gradle (which still ships with Groovy 1.x)
If you want static typing on the JVM, best use a language designed from the ground up to be staticly typed, e.g. Java, Scala, Kotlin, Ceylon.
Re:Scala – 1 Star – Would Not Program Again
by kvtrew76557 on Monday December 02, 2013 @01:11AM
(#6832047)
I happen to like Go, but the excessive marketing of Go on HN as a solution to every "problem" is tiresome.
Re:Scala – 1 Star – Would Not Program Again
by eropple on Monday December 02, 2013 @02:45AM
(#6832363)
Agreed; I like a lot of what I see in Go (though admittedly I liked it about as much when I saw it before Go was released) but the hype is getting to the point where it's impossible to take the general Go advocacy on HN seriously.
I'm starting to wonder when, when I mention C++, I'm going to be told that Go will fix all my problems. (Rust might; Go won't.)
Re:Scala – 1 Star – Would Not Program Again
by goldenkey on Sunday December 01, 2013 @10:13PM
(#6831255)
It's hard to take your comment with impartiality when 90% of your comments mention Go.
Re:Scala – 1 Star – Would Not Program Again
by politician on Sunday December 01, 2013 @10:45PM
(#6831412)
I agree with the parent that the author should investigate Go, but add that the author will get all of those benefits plus a dependency management headache.
Re:Scala – 1 Star – Would Not Program Again
by retrogradeorbit on Monday December 02, 2013 @12:57AM
(#6831988)
Maybe the author needs Java Interop.
Re:Scala – 1 Star – Would Not Program Again
by threeseed on Monday December 02, 2013 @08:16AM
(#6833396)
You forgot to mention go-routines. I don't think I could survive another day without hearing about how amazing they are and will completely reinvent concurrency as we know it.
Re:Scala – 1 Star – Would Not Program Again
by asdasf on Monday December 02, 2013 @02:04PM
(#6835680)
People think I am pining for go too, for similar reasons. Yet I tried very hard to like go, and was unable to put up with such a primitive language just for the nice tooling. Not everything is a "you just need to use go" in disguise.
Solution: author should abandon the JVM ecosystem and use Go.
- Fast compiles.
- Ultra simple, non extensible syntax, yet not verbose in practise.
- The code you see is 100% of the code.
- A culture of implementing the simple algorithm.
- Stable, with version compatibility guarantees.
- Nobody is trying to make the types jump through hoops, so the type inference works.