Why do people name their generics an ominous T when there are much more descriptive names?

I don't get it, please explain @dan1st
3 Replies
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @2fb2cf! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st4w ago
because it's a convention and in many cases, it's clear which type it is about, e.g. with the element type of collections
JavaBot
JavaBot4w ago
Post Closed
This post has been closed by <@358291050957111296> for the following reason:
sample question, mod-closing to make it not have any affect

Did you find this page helpful?