Go 1/2 Immutability Proposal


(Roman Sharkov) #1

Hey guys,

I’ve been working on a proposal for immutability, for both Go 1 and the potential future Go 2, for the last week:

https://github.com/romshark/Go-2-Proposal---Immutability :tada:

I’ve been trying to thoroughly think everything through but It’s still a work-in-progress draft.
Anyone willing to help to review it and make it ready for publication is very welcome!

Feel free to ask questions and propose changes, I’m open for discussions!

Thank you! :slightly_smiling_face:


(Roman Sharkov) #2

It’s now official: https://github.com/golang/go/issues/27975

Please be sure to check it out and feel free to join the conversation! Even if this feature is never introduced to the language specification - reading the design document will make you a better Go developer, that I guarantee!