Join Slack
Powered by
Is there any guidelines on what order to put thing...
# announcements
s
Sam Schilling
10/17/2019, 5:25 PM
Is there any guidelines on what order to put things in a class? E.g., properties at top and methods below, private before public, where to put companion objects or nested classes/enums, etc
r
Ruckus
10/17/2019, 5:28 PM
https://kotlinlang.org/docs/reference/coding-conventions.html#class-layout
👍 2
r
Rolando Lopez
10/17/2019, 5:28 PM
overall be consistent with your team
s
Sam Schilling
10/17/2019, 5:31 PM
^yes, I just wanted general guidelines so our team can follow them consistently 🙂
Sam Schilling
10/17/2019, 5:31 PM
thanks Ruckus
👍 1
4
Views
Open in Slack
Previous
Next