3 ms·
A lot of us love bland. Personally working on Scala for my day job and I curse the authors every time I see some neato feature that's been abused by a bored de
by jbooth 12y ago
A lot of us love bland. Personally working on Scala for my day job and I curse the authors every time I see some neato feature that's been abused by a bored dev or a dev on a deadline.
As far as Go over Java, in terms of differences:
1) Error codes instead of exceptions, big difference, puts Go more in the 'write a server' than 'write an application' category although those lines have been blurred
2) Duck typed interfaces, type inference, automatic delegation and whole bunch of useful little things that make Go, IMO, "Java done right". Regardless of the fact that most of the Go community would want to punch me for calling it that. Go's conventions encourage 2010s Java, Java can sometimes encourage 1990s java.
3) Goroutines being first class is quite different from always instantiating/passing-around an ExecutorService.
4) First class functions and lambdas, although lambdas are a little less useful for not having generics.
- georgedrummond 12y agoI love bland and hate surprises. One of the features I despise most in Ruby is Monkey Patching since it changes expected behaviour.
- TheHydroImpulse 12y agoGo does not have type inference.