+1. Though wouldn't it be more consistent to use typeof?
brianThu 21 Jan 2010
Though wouldn't it be more consistent to use typeof?
Field.typeof is Field#, this is the method to get the field's type.
tacticsThu 21 Jan 2010
What about List.of?
brianThu 21 Jan 2010
What about List.of?
I still think that method if still correct, because it the type of the items we care about. In fact that was one of the things I disliked about using of for Field,Param was that it was slightly inconsistent with List.of.
brian Thu 21 Jan 2010
Now that
Obj.type
is renamed totypeof
, I think it might make sense to rename these APIs:Comments?
lbertrand Thu 21 Jan 2010
+1 make sense
DanielFath Thu 21 Jan 2010
+1. Though wouldn't it be more consistent to use
typeof
?brian Thu 21 Jan 2010
Field.typeof
isField#
, this is the method to get the field's type.tactics Thu 21 Jan 2010
What about
List.of
?brian Thu 21 Jan 2010
I still think that method if still correct, because it the type of the items we care about. In fact that was one of the things I disliked about using
of
for Field,Param was that it was slightly inconsistent withList.of
.