Comment on G# – A modern .NET language with Go, Kotlin, and Swift ergonomicsComments−cmoski1mofor i in 1 ... 5 { sum = sum + i }Means "for 1 to 4". Kill me now.−bjoli1moif the language specifies all ranges to be the same this matters very little.if a ranges are inclusive, you get used to it. if it is arbitrary it is awful.
Comments
for i in 1 ... 5 { sum = sum + i }
Means "for 1 to 4". Kill me now.
if the language specifies all ranges to be the same this matters very little.
if a ranges are inclusive, you get used to it. if it is arbitrary it is awful.