Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
golangbot_tutorial [2019/08/25 09:25] – [First Class Functions] rpjdaygolangbot_tutorial [2019/08/27 10:52] (current) – [Misc] rpjday
Line 7: Line 7:
 ===== Misc ===== ===== Misc =====
  
 +  * "_" is the "blank identifier"
   * Concurrency   * Concurrency
   * Compiled   * Compiled
Line 14: Line 15:
   * Debuggers?   * Debuggers?
   * Code analyzers?   * Code analyzers?
 +  * Install Visual Studio (https://code.visualstudio.com/docs/setup/linux)
  
 ===== Introduction ===== ===== Introduction =====
Line 19: Line 21:
 ==== Introduction and Installation ==== ==== Introduction and Installation ====
  
 +Advantages of Go:
 +
 +  * Simple syntax(?)
 +  * Fast compilation
 +  * Static linking
 +  * Concurrency (goroutines and channels)
 +  * Garbage collection
 +  * Simple language specification
 +  * Tooling
 +    * ''/usr/bin/gofmt''  (golang-bin package)
 +    * ''/usr/bin/golint'' (golint package)
 +    * ''go help vet''
 +    * ''go help tool''
 +
 +Used as the basis for Docker and Kubernetes.
 +
 +Third-party tooling, IDEs, etc.
 ==== Hello World ==== ==== Hello World ====
  
Line 26: Line 45:
  
 ==== Types ==== ==== Types ====
 +
 +  * Go is strict about explicit typing.
  
 ==== Constants ==== ==== Constants ====
 +
 +  * Value must be known at compile time
 +  * Not sure what it means that "const" things have a "default" type until used
 +  * What does it mean that something is "untyped"?
  
 ===== Functions and Packages ===== ===== Functions and Packages =====
  • golangbot_tutorial.1566725152.txt.gz
  • Last modified: 2019/08/25 09:25
  • by rpjday