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

Go has exceptions and exception handling in the form of panics and recovers, but go devs are discouraged from using them.

Go also supports most of the typical attributes of oo. It has polymorphism and encapsulation it’s just missing inheritance and uses composition instead. Most Java and C# code basis have stayed away from inheritance (for a long time) so there isn’t that big a difference.



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

Search: