Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



> goroutines * channels

java.util.concurrent offers tasks and queues.

As for the rest, they are not unique to Go, better languages offer similar features.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: