Programming
Study it inIntroduction to Go
Map
Arrows point from what you learn first to what it opens.
- Proven to level123
- Open
- Locked
- Comes back deeper
Learning path
In the order the concepts build on each other.
- Variables in codeReadyNamed places that hold a value your program can read and change.
- Basic typesLockedThe kinds of values a language has built in - integers, floating-point numbers, booleans, strings - and what you can do with each.Opens after: Variables in code
- Functions in codeLockedNamed, reusable blocks of code that take inputs (parameters) and produce outputs (return values).Opens after: Variables in code
- ConditionalsLockedCode that runs only when a condition is true - if, else, switch - letting a program make decisions.Opens after: Basic types
- GoroutinesLockedGo's lightweight concurrent functions - started with the go keyword and multiplexed by the Go runtime onto OS threads.Opens after: Functions in code, Thread
- PointersLockedValues that hold the memory address of another value, letting code refer to and modify that value indirectly.Opens after: Variables in code, Functions in code
- ChannelsLockedTyped pipes that goroutines use to send values to each other - and to synchronize while doing it.Opens after: Goroutines
- LoopsLockedRepeating a block of code - a fixed number of times, while a condition holds, or over each element of a collection.Opens after: Conditionals
- RecursionLockedA function that solves a problem by calling itself on a smaller version of the same problem, until it reaches a base case.Opens after: Functions in code, Conditionals