4 ms·
Seems to be a common sentiment, but from where I'm standing there are at least a few huge differences between Go and Java: * duck typing * goroutines * chann
by dilap 13y ago
Seems to be a common sentiment, but from where I'm standing there are at least a few huge differences between Go and Java:
* duck typing
* goroutines
* channels
And some smaller but still important differences:
* Very light-weight Public/private distinction
* Slices
* Objects that embed directly in other objects, not as references
* Return-value error handling; only a very restricted form of exceptions
- pjmlp 13y ago> goroutines * channels java.util.concurrent offers tasks and queues. As for the rest, they are not unique to Go, better languages offer similar features.