Learn Go the Hard Way
A course for total absolute known-nothing beginners who want to learn to code. Go is an incredibly simple language that just about anyone can learn and use to create websites, servers, tools and even games. If you're looking for a good first language that will also carry you for years after then Go is a fine choice.
Course Contents
This course contains the following modules and lessons. Every course offers free samples of the first 10 lessons so you can decide if you want to take the course, and excerpts from all lessons after that.
Module The Basics
An introduction to Go for total absolute know-nothing beginners.
- 00: IntroductionGo is a Great Beginner Language
- 01: Gearing UpGearing Up
- 02: Important Basic InformationNotes on basic computer knowledge you need.
- 03: Building a First ProgramBuilding a First Program
- 04: How to Write CodeHow to Write Code
- 05: Basic Syntax: PackagesBasic Syntax: Packages
- 06: Basic Syntax: VariablesBasic Syntax: Variables
- 07: Basic Syntax: TypesBasic Syntax: Types
- 08: Flow Control: IfFlow Control: If
- 9: Flow Control: forFlow Control: for-loop
- 10: Flow Control: switchFlow Control: switch
- 11: Basic Syntax: FunctionsBasic Syntax: Functions
- 12: Flow Control: deferFlow Control: defer
- 13: Error HandlingError Handling
- 14: Reading InputReading Input
- 15: Project: Adventure GameProject: Adventure Game
Module Intermediate Topics
An introduction to both Go for total absolute know-nothing beginners.
- 16: The Type System: StructsThe Type System: Structs
- 17: The Type System: Arrays and SlicesThe Type System: Arrays and Slices
- 18: The Type System: MapsThe Type System: Maps
- 19: The Type System: ClosuresThe Type System: Closures
- 20: PointersPointers
- 21: `struct` and Methods: BasicsStruct and Methods: Basics
- 22: Struct and Methods: Type Assertions and SwitchesStruct and Methods: Type Assertions and Switches
- 23: Struct and Methods: InterfacesStruct and Methods: Interfaces
- 24: Reading and Writing FilesReading and Writing Files
- 25: The Amazing Struct TagsThe Amazing Struct Tags
- 26: Processing DataProcessing Data
- 27: Rogue Part 0: The ScreenThe Beginning of Rogue
- 28: Rogue Part 1: Mazes and EnemiesRogue Part 1: Matrix and Curses
- 29: Rogue Part 2: Pathing EnemiesRogue Part 2: Pathing Enemies
- 30: Rogue Part 3: Finishing TouchesRogue Part 3: Enemy Pathing