• Complain

Tapir Liu - Go 101: a book focusing on Go syntax/semantics and all kinds of details

Here you can read online Tapir Liu - Go 101: a book focusing on Go syntax/semantics and all kinds of details full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2019, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Tapir Liu Go 101: a book focusing on Go syntax/semantics and all kinds of details
  • Book:
    Go 101: a book focusing on Go syntax/semantics and all kinds of details
  • Author:
  • Genre:
  • Year:
    2019
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Go 101: a book focusing on Go syntax/semantics and all kinds of details: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Go 101: a book focusing on Go syntax/semantics and all kinds of details" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Go 101 is a book focusing on Go syntax/semantics and all kinds of details. The book also tries to help gophers gain a deep and thorough understanding of Go. The book is expected to be helpful for both beginner and experienced Go programmers.

Tapir Liu: author's other books


Who wrote Go 101: a book focusing on Go syntax/semantics and all kinds of details? Find out the surname, the name of the author of the book and a list of all author's works by series.

Go 101: a book focusing on Go syntax/semantics and all kinds of details — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Go 101: a book focusing on Go syntax/semantics and all kinds of details" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents 0 - why this book is written 1 2 - why Go is worth learning - photo 1
Contents
  • 0. - why this book is written.
  • 1.
  • 2. - why Go is worth learning.
  • 3. - how to compile and run Go programs.
  • Become Familiar With Go Code
    • 4.
    • 5.
    • 6.
    • 7. - also introduces untyped values and type deductions.
    • 8. - more type deduction rules are introduced.
    • 9.
    • 10.
    • 11.
    • 12.
    • 13.
  • Go Type System
    • 14. - a must read to master Go programming.
    • 15.
    • 16.
    • 17. - to gain a deeper understanding into Go values.
    • 18. - first-class citizen container types.
    • 19.
    • 20. - variadic functions, function types and values.
    • 21. - the Go way to do concurrency synchronizations.
    • 22.
    • 23. - value boxes used to do reflection and polymorphism.
    • 24. - type extension in the Go way.
    • 25.
    • 26.
    • 27. - the reflect standard package.
  • Some Special Topics
    • 28.
    • 29.
    • 30.
    • 31.
    • 32.
    • 33.
    • 34.
    • 35.
  • Concurrent Programming
    • 36.
    • 37.
    • 38.
    • 39. - the sync standard package.
    • 40. - the sync/atomic standard package.
    • 41.
    • 42.
  • Memory Relateds
    • 43.
    • 44.
    • 45.
  • Some Summaries
    • 46.
    • 47.
    • 48.
    • 49.
    • 50.
    • 51.
    • 52.
  • 53.

(The Go 101 book is provided as free ebooks.This book is still being improved frequently from time to time.Please visit go101.org toget the latest version of this book. BTW, Tapir,the author of the book, has developed several fun games.You can visit tapirgames.comto get more information about these games. Hope you enjoy them.)
About Go 101

I feel it is hard to describe the contents in this articlein the general description manner.So this article will use the interview manner to make descriptions instead.

Hi Tapir, when and why did you plan to write this book?

At about July 2016, after (not very intensively) using Go for two years,I felt that Go is a simple language and I had mastered Go programming.At that time, I had collected many details in Go programming.I thought I can archive these details into a book.I thought it should be an easy job.

I was wrong. I was overconfident.In trying to make explanations for some details,I found I couldn't explain them clearly.With more and more confusions were gathered,I felt my Go knowledge was so limited that I was still a newbie Go programmer.

I gave up writing that book.

Gave up? Isn't this book almost finished now?

It was that book being cancelled, not the book Go 101.I eventually cleared almost all the confusions by reading many officialGo documentations and all kinds of Go articles on Internet,and by finding answers from some Go forums and the Go project issue tracker.

I spent about one year clearing the confusions.In the period, from time to time,once I had cleared most confusions on a topicand regained the confidence on explaining that topic,I wrote one blog article for that topic.In the end, I had written about twenty Go articles.And I had collected more Go details than before.It was the time to restart the plan of writing a Go book.

I wrote another ten basic tutorial articles and twenty more articleson all kinds of other Go topics.So now Go 101 has about 50 articles.

What were your ever confusions?

Some of the confusions were a few syntax and semantics design details,some of them involved values of certain kinds of types(mainly slices, interfaces and channels),and a few of them were related to standard package APIs.

What are the causes of your ever confusions do you think?

Thinking Go is easy to master is considered harmful.Holding such opinion will make you understand Go shallowly and prevent you from mastering Go.

Go is a feature rich language.Its syntax set is surely not large, but we also can't say it is small.Some syntax and semantics designs in Go are straightforward,some are a little counter-intuitive or inconsistent with others.There are several trade-offs in Go syntax and semantics designs.A programmer needs certain Go programming experiences to comprehend the trade-offs.

Go provides several first-citizen non-essential kinds of types.Some encapsulations are made in implementing these typesto hide the internal structures of these types.On one hand, the encapsulations bring much convenience to Go programming.On the other hand, the encapsulations make some obstacles tounderstand the behaviors of values of these types more deeply.

Many official and unofficial Go tutorials are very simpleand only cover the general use cases by ignoring many details.This may be good to encourage new Go programmers to learn and use Go.On the other hand, this also makes many Go programmers overconfidenton the extent of their Go knowledge.

Several functions and types declared in some standard packagesare not got detailed explanations. This is understandable,for many details are so subtle that it is hardto find proper wordings to explain them clearly.Saying a few accurate words is better than says some lots of words with inaccuracies.But this really leaves some confusions for the package users.

So do you think simplicity is not a selling point of Go?

I think, at least, simplicity is not a main selling point of Go.After all, there are several other languages simpler than Go.On the other hand, Go, as a feature rich language, is also not a complicated language.A new Go programmer with right attitudes can master Go programming in one year.

Then what are the selling points of Go do you think?

Personally, I think the fact that, as a static language, Go is flexibleas many dynamic script languages is the main selling point of Go language.

Memory saving, fast program warming-up and fast code execution speed combinedis another main selling point of Go.Although this is a common selling point of many C family languages.But for web development area, seldom languages own the three characteristics at the same time.In fact, this is the reason why I switched to Go from Java for web development.

Built-in concurrent programming support is also a selling point of Go,though personally I don't think it is the main selling point of Go.

Great code readability is another important selling point of Go.I feel readability is the most important factor considered in designing Go.

Great cross-platform support is also a selling point of Go,though this selling point is not much unique nowadays.

A stable core design and development team and an active community togethercan also be viewed as a selling point of Go.

What does Go 101 do to clear these confusions?
Go 101 tries to clear many confusions by doing the followings.
  1. Emphasizes on basic concepts and terminologies.Without understanding these basic concepts and terminologies,it is hard to fully understand many rules and high level concepts.
  2. Adds the value part terminology and use one special articleto explain value parts. This article uncovers the underlying structuresof some kinds of types, so that Go programmers could understandGo values of those types more deeply.I think knowing a little possible underlying implementations is veryhelpful to clear some confusions about all kinds of Go values.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Go 101: a book focusing on Go syntax/semantics and all kinds of details»

Look at similar books to Go 101: a book focusing on Go syntax/semantics and all kinds of details. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Go 101: a book focusing on Go syntax/semantics and all kinds of details»

Discussion, reviews of the book Go 101: a book focusing on Go syntax/semantics and all kinds of details and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.