TechGuild
1Level 1, Curious Newcomer

Values, constants and the zero value

Every Go type has a usable zero value and no variable is ever undefined. This lesson covers declaration forms, the untyped constant system that makes numeric literals feel dynamic, and why Go refuses conversions that other languages perform silently.

11 min readfoundation

Sign in to read this lesson

This lesson is part of The language, which a free account opens. The orientation module of every course reads without one.

An account is free. There is no paid plan, no tier and nothing to buy.