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

You’re mistaken. In C, void pointers (the “dynamic type” in C) were used to make algorithms generic. This would be necessary regardless of whether or not C was strongly typed. For instance, Go is strongly typed but lacks generics, and it too needs a dynamic type (interface{}) to produce many generic algorithms.


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

Search: