https://kotlinlang.org logo
i

igor.wojda

01/25/2018, 1:10 PM
Hey what do you thing about dropping requirement of explicitly specifying lambda parameters completely is they are not used at all? Now
Copy code
var appNotifications by Delegates.observable(listOf<AppNotification>()) {
    _, _, _ -> notifyDataSetChanged()
}
After
Copy code
var appNotifications by Delegates.observable(listOf<AppNotification>()) {
    notifyDataSetChanged()
}
1
v

voddan

01/26/2018, 9:55 AM
Overloading resolution will become ambiguous in some cases, so I don't think it is possible to implement due to the backward compatibility requirement
i

igor.wojda

01/31/2018, 5:19 PM
I don’t see issues with backward compatibility -> old code need to work in new version )witch still will be fine), no other way around
v

voddan

02/01/2018, 10:13 AM
Some old code will work differently (call another method) if those changes are implemented