kotlin-style-guide
kotlin-style-guide copied to clipboard
Sharing internal corporate coding conventions
This issue lists references to coding conventions that were developed in production teams using Kotlin.
- Corda (Mike Hearn) https://docs.corda.net/head/codestyle.html
- Blockchain (Adam Bennett) https://github.com/ditn/KotlinStyleGuide
- Gridstone (Chris Horner) https://github.com/Gridstone/KotlinStyleGuide
If your team has such a document, and can share it, please post a comment with a link to it, your name and your company's name. Please make sure that the posted document is accessible without authorization and is not going to be moved or removed.
I'll edit the top of this issue to include all new references.
The Corda team uses this:
https://docs.corda.net/head/codestyle.html
I have been meaning to add new language to it around terseness. Kotlin lets you write very terse code and sometimes it's tempting to go overboard.
Me: Adam Bennett Company: Blockchain (specifically team Android) Link: https://github.com/ditn/KotlinStyleGuide
Me: Chris Horner Company: Gridstone Link: https://github.com/Gridstone/KotlinStyleGuide