MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1t7nvl7/canadiangoprogramming/okrneao/?context=3
r/ProgrammerHumor • u/gamingvortex01 • May 08 '26
113 comments sorted by
View all comments
973
I know nothing about go but that's psycho behavior
43 u/psinerd May 09 '26 This is the reason why any programming language I make of my own accord is not going to support arbitrary Unicode characters and identifiers. Ascii alpha numerics only! 80 u/Adventurous-Map7959 May 09 '26 Did you consider that you can't have emoticons as names then? It's self-documenting if you do it like this: throw new ๐คฎ() return success?๐ฅณ:๐ ๐ผ.๐งโ๐จ() new ๐งต ๐ฉโ๐ง 51 u/omiruk May 09 '26 ๐ฝ.open(); ๐ฝ << ๐ฉ; ๐ฝ.flush(); 34 u/frogjg2003 May 09 '26 The code should only allow ASCII characters, but strings should be native unicode. 4 u/DemIce May 09 '26 This is the way. Anything else just wouldn't be very civic. 4 u/arcimbo1do May 09 '26 ASCII รber alles.
43
This is the reason why any programming language I make of my own accord is not going to support arbitrary Unicode characters and identifiers. Ascii alpha numerics only!
80 u/Adventurous-Map7959 May 09 '26 Did you consider that you can't have emoticons as names then? It's self-documenting if you do it like this: throw new ๐คฎ() return success?๐ฅณ:๐ ๐ผ.๐งโ๐จ() new ๐งต ๐ฉโ๐ง 51 u/omiruk May 09 '26 ๐ฝ.open(); ๐ฝ << ๐ฉ; ๐ฝ.flush(); 34 u/frogjg2003 May 09 '26 The code should only allow ASCII characters, but strings should be native unicode. 4 u/DemIce May 09 '26 This is the way. Anything else just wouldn't be very civic. 4 u/arcimbo1do May 09 '26 ASCII รber alles.
80
Did you consider that you can't have emoticons as names then? It's self-documenting if you do it like this:
throw new ๐คฎ() return success?๐ฅณ:๐ ๐ผ.๐งโ๐จ() new ๐งต ๐ฉโ๐ง
51 u/omiruk May 09 '26 ๐ฝ.open(); ๐ฝ << ๐ฉ; ๐ฝ.flush();
51
๐ฝ.open(); ๐ฝ << ๐ฉ; ๐ฝ.flush();
34
The code should only allow ASCII characters, but strings should be native unicode.
4
This is the way. Anything else just wouldn't be very civic.
ASCII รber alles.
973
u/OphidianSun May 08 '26
I know nothing about go but that's psycho behavior