introduce its
as convenience feature extractor at the cost of poorer reporting
#837
Milestone
its
as convenience feature extractor at the cost of poorer reporting
#837
Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none
Code related feature
See also #790 as one of the motivations behind this.
tl;dr: with the assumption that most users weight readability of code higher than readability of the report, I decided to introduce
its
.Unfortunately, Kotlin 1.4 (and most likely 1.5 as well) still suffer from, well.. how to say this, not as good type inference capabilities as I thought it would be. There are still a lot of bugs when it comes to overload resolution and it gets worse if a) lambdas are involved, b) KFunction are involved.
Hence, the current approach with KFunction will not play out that well as foreseen.
its
shall be a better fit for most users as I guess most users don't really care that much about reporting and prefer if the code is more readable more intuitive to write.And I hope, depending on Kotlin's stability of IR in 1.5 that we can maybe improve the reporting in the future.
So, instead of
one shall be able to write:
For the moment we will not be able to output the
isStudent
andfullName
in the reporting and instead offeature
instead (maybe, depending on how much impact it has, we will outputfeature 1
,feature 2
etc.)The text was updated successfully, but these errors were encountered: