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

Wow. That seems very complicated for an implementation of map().

It seems like this is a perfect example of how generics are a productivity feature.



It's complicated because the reflect library is very general. There's no need to repeat most of this. So in fact, it's a perfect example of how functions are a productivity feature.


I would argue it's both.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: