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:31] – [Introduction and Installation] 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 21: Line 23:
 Advantages of Go: Advantages of Go:
  
-  * Simple syntax +  * Simple syntax(?)
-  * Concurrency+
   * Fast compilation   * Fast compilation
   * Static linking   * Static linking
 +  * Concurrency (goroutines and channels)
 +  * Garbage collection
 +  * Simple language specification
   * Tooling   * Tooling
     * ''/usr/bin/gofmt''  (golang-bin package)     * ''/usr/bin/gofmt''  (golang-bin package)
     * ''/usr/bin/golint'' (golint package)     * ''/usr/bin/golint'' (golint package)
     * ''go help vet''     * ''go help vet''
 +    * ''go help tool''
  
 +Used as the basis for Docker and Kubernetes.
 +
 +Third-party tooling, IDEs, etc.
 ==== Hello World ==== ==== Hello World ====
  
Line 37: 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.1566725500.txt.gz
  • Last modified: 2019/08/25 09:31
  • by rpjday