4 ms·
ESR's proposal here is basically just another way of spelling Python list comprehensions or Perl 5 map (which is likewise a builtin, with special parsing rules)
by pcwalton 5y ago
ESR's proposal here is basically just another way of spelling Python list comprehensions or Perl 5 map (which is likewise a builtin, with special parsing rules). It's not "new PL territory" by any means.
- throwaway894345 5y agoI think the "new PL territory" was referring to a type-safe generic map builtin. Obviously Python and Perl don't have a concept of type safety. That said, I still wouldn't call that novel in the sense that a builtin version of a well-understood generic function doesn't seem like a feat of ingenuity.
- lucian1900 5y agoMost statically typed languages have a type safe generic map or it can be easily built. Just like with monomorphisation, Go just stubbornly rejects all PL research younger than 40.
- throwaway894345 5y ago> Most statically typed languages have a type safe generic map or it can be easily built. That's my point. > Just like with monomorphisation, Go just stubbornly rejects all PL research younger than 40. That's flamebait.