-
Notifications
You must be signed in to change notification settings - Fork 426
Go immutable value proposal list
Go101 edited this page Jan 15, 2020
·
1 revision
-
https://github.com/golang/go/issues/6386: allow constants of arbitrary data structure type
- important comments and alike issues:
- https://github.com/golang/go/issues/23161: Secure modules w/ the const-mutable type
- https://github.com/golang/go/issues/6386#issuecomment-406824755
- https://github.com/golang/go/issues/6386#issuecomment-574434386: a proposal which specifies more detailed rules for all kinds of operations and provides a possible implementation
- important comments and alike issues:
- https://github.com/golang/go/issues/20443: add read-only slices and maps as function arguments
- https://github.com/golang/go/issues/21130: add const literals for reference types like structs, maps, and arrays
- https://github.com/golang/go/issues/21131: add const types
- https://github.com/golang/go/issues/22048: frozen slices / arrays / maps and derivatives (immutable subscript-able objects)
- https://github.com/golang/go/issues/22876: read-only types
- https://github.com/golang/go/issues/27975: immutable type qualifier
- https://github.com/golang/go/issues/28608: express pointer/struct/slice/map/array types as possibly-const interface types
- https://github.com/golang/go/issues/29192: read-only and immutability
- https://github.com/go101/immutable-value-proposal: A proposal to support read-only and immutable values in Go
-
https://docs.google.com/document/d/1-NzIYu0qnnsshMBpMPmuO21qd8unlimHgKjRD9qwp2A/edit: Evaluation of read-only slices
- and https://docs.google.com/document/d/1UKu_do3FRvfeN5Bb1RxLohV-zBOJWTzX0E8ZU1bkqX0/edit#heading=h.2wzvdd6vdi83: Read-only slice proposal
(welcome everyone improve this list)
Please follow the official Twitter account of Go 101, @zigo_101, to learn some Go details, facts, tips, etc, and read some Go articles from time to time.
Go 101 is a series of books about Go programming.
Books in Go 101 series
- Go (Fundamentals) 101 focuses on Go syntax/semantics (except custom generics related) and all kinds of runtime related things.
- Go Optimizations 101 provides some code performance optimization tricks, tips, and suggestions.
- Go Details & Tips 101 collects many details and provides several tips in Go programming.
- Go Generics 101 explains Go custom generics in detail.
Tapir started writing the Go 101 books and maintaining the go101.org website since 2016. New contents will continue being added to the books and the website from time to time. If you would like to, you can also support Go 101 by playing Tapir's games (for both Android and iPhone/iPad):
- Color Infection (★★★★★) - a physics based casual puzzle original game. 140+ levels.
- Rectangle Pushers (★★★★★) - a casual puzzle original game. 104+ levels.
- Let's Play With Particles - a casual action original game. Three game modes are included.