-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeLanguageChangeSuggested changes to the Go languageSuggested changes to the Go languageProposalv2An incompatible library changeAn incompatible library change
Milestone
Description
Lately, I've noticed how python loops with range are extremely simple and powerful.
What if we expand capabilities of using go loops with range?
for v := range 25 {} // no key here can be assigned
It goes from 0 to 25.
for v := range 1:25 {}
It goes from 1 to 25.
vadyus, tmthrgd, seankhliao, alanfo, OneOfOne and 7 more
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeLanguageChangeSuggested changes to the Go languageSuggested changes to the Go languageProposalv2An incompatible library changeAn incompatible library change