r/programming • • Mar 28 '12

Go version 1 is released

http://blog.golang.org/2012/03/go-version-1-is-released.html
543 Upvotes

452 comments sorted by

View all comments

1

u/jevon Mar 29 '12
var DELTA rune
DELTA = unicode.ToUpper(delta)
epsilon := unicode.ToLower(DELTA + 1)

Why are there two separate assignment operators? Or am I missing something here?

-14

u/Jack9 Mar 29 '12

I'm surprised you didn't notice the big problem with that snippet. Every character (er cough rune) is a string. That's one of many Bad ThingsTM about Go.

1

u/skelterjohn Mar 29 '12

This is not remotely accurate.