Glossary: Coding Interviews in Go
nil
Also written: nil pointer
Go's value for 'points to nothing', such as a missing tree child or the end of a linked list. Reading through a `nil` pointer crashes the program, so check first.
Glossary: Coding Interviews in Go
Also written: nil pointer
Go's value for 'points to nothing', such as a missing tree child or the end of a linked list. Reading through a `nil` pointer crashes the program, so check first.