Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Address any pain points with Kotlin #4

Open
NoahAndrews opened this issue Oct 25, 2017 · 1 comment
Open

Address any pain points with Kotlin #4

NoahAndrews opened this issue Oct 25, 2017 · 1 comment

Comments

@NoahAndrews
Copy link
Member

NoahAndrews commented Oct 25, 2017

Before anyone writes any code for this, write an OpMode with Kotlin and identify any pain points here, such as needing to use ? excessively. Also test things like Vuforia. If you have any ideas for how to improve things, submit them here.

@magneticflux-
Copy link

I've started integrating Kotlin into Pattonville Robotics's workflow and I haven't run into any problems so far. I've found that the lateinit keyword for fields is useful to convey to the compiler that those fields are non-null, but shouldn't be accessed before being initialized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants