Go features

Source: http://qr.ae/TUpzWs

  1. In Go a type definition is neither pointer nor value, it’s just a type.
  2. Go doesn’t have classes
  3. Go doesn’t have inheritance, it has interfaces for polymorphism and some sugar for automatic delegation (“struct embedding”).
  4. Simple build system. Want to compile for linux arm from your MacBook? GOOS=linux GOARCH=arm go build.
  5. Implicit interfaces.
  6. Great standard library. Go’s standard library covers JSON, Templating, HTTP (production grade), testing, benchmarking, etc, etc.
  7. Standard formatting.
  8. Documentation for free.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.