groostav
07/07/2016, 1:12 AMT
, U
, R
, and S
are simply generally accepted names for parametric types in java. The convention I managed to ram down my teams throat was to use properly descriptive names, eg fun <TCandidate> doSomething(candidate: TCandidate)
instead of fun <T> doSomething(candidate: T)
but that leads to a whole class of formatting issues nobody else in kotlin has, so I've debated giving up on this fight.