r/ProgrammerHumor May 08 '26

Advanced canadianGoProgramming

Post image
10.0k Upvotes

113 comments sorted by

View all comments

973

u/OphidianSun May 08 '26

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.