I think marcinmoskala has fair point. Not that it should yield to the same results but that the naming can be considered confusing. You have this two methods with the same name that do a fundamentally different operation. For that matter it makes sense to me that String.toInt shouldn’t have existed in the first place.