logoalt Hacker News

positr0nlast Monday at 3:13 PM1 replyview on HN

Occasionally it is really useful to be able to do something like `new T()`. Without reified generics that is not possible.


Replies

mrkeenlast Monday at 3:40 PM

new T? What's wrong with the old one?

Jokes aside, what's the use case for not knowing what T is until runtime?