apatrida
05/21/2017, 11:37 PM*
which means nothing useful. There is a big lack of information. At any point do you know what type T is? and if not, how does the parseProperty
expect to work on unknown types, does it check against a list of instance types then performs its action? If there is no way to know outside of this function what type type is, then you need to change parseProperty
to accept <*>
as the type as well because you cannot say "give me a type T" to someone who can never know what is the type of T
diesieben07
05/22/2017, 8:11 AMProperty<T>
) is bad. I would write it the same in Kotlin.apatrida
05/22/2017, 1:24 PMdiesieben07
05/22/2017, 1:52 PM