Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If they'd use Docker with React this would have never happened!

It's probably because they wrote it in Go. Did you know Go doesn't even have generics?



What do you mean? Go has generics. Kind of.

https://www.reddit.com/r/rust/comments/5penft/parallelizing_...


Wait, is that string using inuktitut characters as fake angle-brackets? That is monstrously evil.


Yup, that's even evil enough to quote in full:

  [–] pftbest 114 points 1 year ago 
  can you please explain this go syntax to me?
  type ImmutableTreeListᐸElementTᐳ struct {
  I thought go doesn't have generics.

  [–]Uncaffeinated[S] 239 points 1 year ago 
  It doesn't. That's just a "template" file, 
  which I use search and replace in order to
  generate the three monomorphized go files.
  If you look closely, those aren't angle brackets,
  they're characters from the Canadian Aboriginal
  Syllabics block, which are allowed in Go identifiers.
  From Go's perspective, that's just one long identifier.
https://www.reddit.com/r/rust/comments/5penft/parallelizing_...


Wow, that's the best/worst thing I've read in a long time. Imagine you'd have to maintain code using those without knowing it..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: