Giter Club home page Giter Club logo

learn-go's Introduction

Learning Go

This is just a sandbox repository for me to put in random programming, mostly for me to learn go. The motivation is that I want to learn a new backend language to be able to write high-performance backend services, and there are many projects (k8s, docker, normad) are written in go. If i understand Go it will be easier for me to understand these projects.

What i like about Go:

  • Clear and nice syntax.
  • Channel and goroutine is awesome, a lot more cleaner than in python where i have to use Condition for cordination.
  • Concurrency is easy to reason. Everything is blocking, unless you let it go.
  • Strong-typed

What I don't like about Go:

  • Single workspace is a confusing.
  • Error handling is just awful. It's too bad that Go does not have a try / catch block.
  • JSON deserialization is hard if you don't know the key and type of the value.
  • Lacking of Generic

I/O

Channels

It’s okie to leave channel open. GC will collect it

Ser/der

Slices

Links

learn-go's People

Contributors

nqbao avatar

Watchers

James Cloos avatar Dinesh Sonachalam avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.