r/programmingcirclejerk • u/Hauleth Zygohistomorphic prepromorphism • Apr 25 '17
Go vs. Generics
/r/rust/comments/5penft/parallelizing_enjarify_in_go_and_rust/dcsgk7n/91
u/ConcernedInScythe Apr 25 '17
those aren't angle brackets, they're characters from the Canadian Aboriginal Syllabics block
ban this sick filth
20
u/ForgetTheRuralJuror Apr 25 '17
Yeah i can't see that having any consequences if someone else in the world has to witness your code.
19
13
u/username223 line-oriented programmer Apr 25 '17
characters from the Canadian Aboriginal Syllabics
MFW Squamish is spelled "Skwxwu7mesh."
6
u/breadfag costly abstraction Apr 26 '17
i understand that the 7 is supposed to be an easily inputable version of IPA's ʔ but jeez having a digit in the middle of a word looks bad
60
u/BufferUnderpants Gopher Pragmatist Apr 25 '17
It's always hilarious to see how gophers work around the lack of generics to show that they don't need them.
32
u/pftbest Apr 25 '17
The first step in solving a problem is to recognize that it does exist.
At least he is not saying that "go doesn't need generics", and that is a good sign. He can still see the light in a darkness.
25
Apr 26 '17
But it doesn't need generics, it's already got support for Canadian Aboriginal Syllabics.
58
104
u/NasenSpray blub programmer Apr 25 '17
23
22
20
Apr 25 '17
Aboriginal Syllabics block
Ironically, that's rather fitting for Go's cargo-cult programming approach to generics.
6
u/InvisibleEar Apr 26 '17
That's...racist?
13
Apr 26 '17
Yeah, I guess comparing aboriginals to zealous gophers is racist.
I apologize to any aboriginals to whom this may concern.
2
16
u/struct_t blub programmer Apr 25 '17
"Compared to Generics, Gotm is 50% more effective at confusing the fuck out of everyone who even tries to read your code. We guarantee it!"
12
u/killercup has hidden complexity Apr 25 '17
ĺ͍̲o̯̙̭͚͇ĺ͎̲̜̺ ̖͈͇͖n͜o͚̳̭̤̺͜ ͙̙n҉̰̣͕͚o͉͓̭n͉̲͙-̢̲̳͙̺̲u͓͖̝̰̭͉͎nì͕̟̝̜̯͔c̠̹̺͞o̖̤͓̰͖̭d̳̦ẹ̵̠ ͚͟g̭̙e̛̯̺̰̜̼͍n͏̥͔͓̰ẹ̜̪̦̺ͅr͎͔̜̟̲i̮͚͟c̲͇̳͠s̱͚̗̝̼̭̦
33
u/GoCannotIntoWebscale I've never used generics and I’ve never missed it. Apr 25 '17
ꝡӉᗅꓔ 𝕿Ꮋ𝔼 ᖷ𝒜ᛕ
\uNJER k
Having support for variable names in non-latin scripts is quite cool actually, at least now your Chinese or Indian Python developer can write their scripts in a way that makes sense to them, and treat the rest of the syntax as symbols.
Also Math. Mathematicians like to use any alphabet but the latin one, having an algorithm implementation exactly match the notation used in the book helps make it clearer.