Go Web
I haven’t finished reading it. After reaching school age, I can only skim through the main chapters of programming books. I can’t run each example one by one, which is somewhat regrettable.
Compared to others, this book covers a wide range of topics and the examples are representative. It is definitely worth buying.
Not to mention that the author has put the book online, just search and you will find it.
Learning By Doing, I wrote a website to try it out:
From Python to Ruby to Node.js, and now to Golang.
Ruby is truly amazing. Apart from its flexibility, its syntax is the closest to pseudocode that I have seen (if there were no ‘end’ statements, it could truly be considered writing pseudocode, without the need to pay attention to indentation like in Python).
As for Node.js, I don’t know much about it because I am not familiar with JavaScript.
Then I came across Go. Since my first language was C, I feel a natural affinity towards it and I am already familiar with it.
However, the most frustrating thing about switching from Ruby to Go is having to declare variable types again and having to use interfaces to convert complex data. I no longer have the freedom that I used to have.
But I am gradually understanding that this is because Go wants to catch bugs before compilation. Dynamic languages can only manually test each branch.
It’s a bit painful.
Translated by gpt-3.5-turbo