Hello everyone!
So I was foolinβ around in golang playground and I tried the following:
π := "pineapple"
π« := "pizza dough"
π
:= "tomato"
π§ := "cheese"
π := "ham"
π := π« + π
+ π§ + π + π
fmt.Println(π)
And when I clicked on βRunβ, I beholded astonished the following compilation errors
./prog.go:8:2: invalid character U+1F34D 'π' in identifier
./prog.go:9:2: invalid character U+1FAD3 'π«' in identifier
./prog.go:10:2: invalid character U+1F345 'π
' in identifier
./prog.go:11:2: invalid character U+1F9C0 'π§' in identifier
./prog.go:12:2: invalid character U+1F416 'π' in identifier
./prog.go:14:2: invalid character U+1F355 'π' in identifier
./prog.go:14:10: invalid character U+1FAD3 'π«' in identifier
./prog.go:14:17: invalid character U+1F345 'π
' in identifier
./prog.go:14:24: invalid character U+1F9C0 'π§' in identifier
./prog.go:14:31: invalid character U+1F416 'π' in identifier
./prog.go:14:31: too many errors
I would expect an error for adding to the
β¦ But the thing reports error for the rest of the emojis
So my questions areβ¦ What does golang have against emojis? What does it have against pizza π€? Why emojis are not in the language specification at this point? Should I post a proposal at the golang repo?
Canβt believe thereβs no more people talking about this at the momentβ¦
Happy 1st of April yβall!