Is Go Lang worth learning or not? I wanted to know. These were my steps for making (up) and answer. It was a rough but short road for me. I determined that I like it and that determination shocked me. It totally went against my intuition (which proves nothing). My wrong-ness surprised and delighted me. And inspired me to capture both my conclusion and the process. That is what follows.
Tag: Language
(Go Lang) Methods (GBEN)
Example
(Go Lang) Structs (GBEN)
Example
(Go Lang) Pointers (GBEN)
Example
(Go Lang) Recursion (GBEN)
Example
(Go Lang) Closures (GBEN)
Example
- Like in Lisp
- Don’t allow recursion against themselves
(Go Lang) Multiple Return Values (GBEN)
Example
- They are idiomatic
(Go Lang) Functions (GBEN)
Example
- Like
C
with some type inference - Ignore the lambda expression usage, this is just so I can run the code easily in a single source block
(Go Lang) Range (GBEN)
Example
- Iterate over things and do something
(Go Lang) Maps (GBEN)
Example
- Maps are maps
- Getter returns a second result, a boolean, telling of the key was present