Hacker News new | ask | show | jobs
by baby 2519 days ago
You’re missing my point. While other syntactic elements can be learned, generics can be abused to make the code unreadable.
2 comments

> generics can be abused to make the code unreadable

All features can be abused to make the code unreadable. E.g. all modern languages have regular expressions in their standard libraries, despite complex regular expressions are essentially write-only code.

> While other syntactic elements can be learned, generics can be abused to make the code unreadable.

Substitute "generics" for pretty much any bit of programming syntax, and this statement is still true.