News for hackers. Stuff that matters.
Re:Proposal: Go 2: Lightweight anonymous function syntax by metaltyphoon on Sunday May 22, 2022 @09:47PM (#31474596)
“Go 2” is a pipedream. It won’t happen
Re:Proposal: Go 2: Lightweight anonymous function syntax by Matthias247 on Monday May 23, 2022 @12:48AM (#31475423)
Are the recently introduced generics part of Go 2 - or not? I thought at one point in time the team announced that Go 2 would always be a backwards compatible evolution of the language, so it seems new features could happen independent of whether one labels them as Go or Go 2.
Re:Proposal: Go 2: Lightweight anonymous function syntax by morelisp on Monday May 23, 2022 @02:38AM (#31475945)
Both generics and the errors.Is/errors.As interface began life as "Go 2" projects. "Go 2" is a catch-all bucket for anything that might need to be incompatible.
Re:Proposal: Go 2: Lightweight anonymous function syntax by metaltyphoon on Monday May 23, 2022 @10:38PM (#31487424)
Right... so there is no Go 2. It's silly for a language that prides so much on semver and how its package versioning uses it, to make "Go 2" backwards compatible.
Re:Proposal: Go 2: Lightweight anonymous function syntax by morelisp on Tuesday May 24, 2022 @02:03AM (#31488530)
"Go 2" is not backwards compatible. Features planned for "Go 2" which are backwards compatible get backported to Go 1. This is aligned with semver.
Re:Proposal: Go 2: Lightweight anonymous function syntax by armchairhacker on Sunday May 22, 2022 @10:00PM (#31474659)
C++ should be renamed to "Go 18465927"
Re:Proposal: Go 2: Lightweight anonymous function syntax by alophawen on Sunday May 22, 2022 @09:50PM (#31474617)
Go on