Hacker News new | ask | show | jobs
by pphysch 1651 days ago
'T' is a completely normal identifier, it is merely the conventional one used as a type parameter. But you can also use Type, MyType, etc instead of T as that parameter identifier.

The compiler can easily detect if the thing in the [] is a int or type.