ground-android
ground-android copied to clipboard
Migrate to Kotlin
Is there a recommendation for how to approach this? Should we start migrating classes which already have unit tests or should it be used for new classes only?
Is there a recommendation for how to approach this? Should we start migrating classes which already have unit tests or should it be used for new classes only?
Hi Shobhit, we discussed starting with new classes, tests, and necessary dependencies, and once we’re comfortable, migrating existing classes and tests as we go. Wdyt?
Since I don't have any active PRs, I thought of migrating one or two of the existing classes to kotlin. But adhering to using Kotlin for new/modified code also sounds reasonable. Can't wait to get my hands dirty.
Since I don't have any active PRs, I thought of migrating one or two of the existing classes to kotlin. But adhering to using Kotlin for new/modified code also sounds reasonable. Can't wait to get my hands dirty.
I don't see why you couldn't grab some small ones while we're still in the 2.0 design phase. I don't have Kotlin "readability" yet, so maybe one of the other 20%ers could review? Please cc me so I can shadow and learn!
just an FYI, I'm already altering all of the mutation objects, so just a heads up to avoid selecting those -- I'll have a PR for that out today
Think it's safe to consider this one done?
:+1:
Closing, while we're not 100% Kotlin just yet, much of the codebase has been migrated. We can continue to migrate classes over time if it makes sense.