Go idioms
I recommend every Go beginner to read the language Specification and the FAQ because the Syntax of Go and especially inheritance, the type system and the object-oriented characteristics are very differently as in beginner languages like Java and PHP.
Index:
- Subtyping through Interfaces
- Subclassing through ‘type embedding’
- Underlying type and Conversion
- Interface a dynamic way
- Arrays call by value
- Maps, slices, and channels call by reference
Written by Dustin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Go
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#