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

Generics in C++ really damage the readability of the code sometimes, maybe the go devs have found a better way.

The culture might help. I think generics in Java are not overused -- partly because they are not so powerful and partly because Java, similar to Go, did not have generics for a long time.



C++ also went a long time without generics, and even when support started to appear it was a separate code generation step, requiring even more time before we saw first-class compiler support.

Powerful, though.




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

Search: