r/functionalprogramming • • Jun 04 '26

FP Scala Was an Experiment That Changed Programming - Martin Odersky | The Marco Show

https://youtu.be/Xn_YpUtXWT4
26 Upvotes

25 comments sorted by

View all comments

Show parent comment

5

u/gasche Jun 05 '26

Let me take a step back and explain my point at a high-level. In discourses about programming languages online, people sometimes have a tribal behavior where they say good things about their favorite language and bad things about other languages. I think it is worth being careful to avoid this as much as possible.

When you say that "Java and Go generics were developed by Haskell researchers", this read very reminiscent of this tribal positioning to me -- "yo, we Haskell people own your generics". This is probably a simplistic view of your thoughts because your second post is more nuanced, but this is how it is easily perceived.

Besides, we programming language researchers try our best to be on friendly terms with several programming-language communities, so while it is indeed true that some people have a clear relation to one specific language (it obviously makes sense to call Simon Peyton-Jones "a Haskell researcher" or Martin Odersky "a Scala researcher"), I am not sure that many of our colleagues would be comfortable being labeled with one specific language in particular, exclusively. (It's plausible that Philip Wadler would be okay with being associated with Haskell in particular.)

Finally,

  • the work on generics in Go started sensibly earlier than the research paper you are mentioning
  • I'm not "in the know" specifically about this work but I don't think that it is the case that the Go design was mostly informed by this paper, I think it started with the usual Go team design process and then the paper after-the-fact studied the proposed approaches and the design space. (Papers: Featherweight Go, and later on Welterweight Go)
  • The paper has a long list of authors (Robert Griesemer, Raymond Hu, Wen Kokke, Julien Lange, Ian Lance Taylor, Bernardo Toninho, Philip Wadler, Nobuko Yoshida), most of whom are not Philip Wadler, many of whom are not exclusively Haskell-focused in their work, and some of whom are actually working on Go as their main job. I think it would be more respectful to cite all the authors (this remark would also apply to the blog post that you mention), because citing only one person gives the impression that they did most of the work, and helps forget the collective nature of this sort of work.

In any case I think that your claim that "Go generics were developed by Haskell researchers" is incorrect and not a good way to phrase things anyway.