Open andrewda opened 6 years ago
Aren't we already doing that? Just without the actions
thing. But yeah, looks good.
Yea just a few minor changes. We should use drivetrain
instead of driving
, utils
instead of util
(at least that's the standard in Python and JavaScript, maybe that's different in Kotlin?), and remove the Utils suffix from the utilities (again, maybe that's actually not the standard in Kotlin).
Also move Constants.kt
outside of utils
.
@andrewda util
is a standard Java convention (and by extension Kotlin) for a package that contains a wide variety of unrelated stuff. utils
is used when the stuff is focused on one specific thing. See this Java lang package for example.
@Jamdan2 suggested we change the utils stuff to lowercase and remove the Utils
postfix which is cool by me. @Jamdan2 Does IntelliJ append a Utils
to their file names or just use the name of whatever's inside?
Also, moving consts is fine by me.
Kinda more large-scale than #5. How should we structure the robot? I like this format a lot:
Guess I still like the subsystem/action structure even if we're not technically using subsystems. It's much more organized and easier to follow.