kotlin-style-guide icon indicating copy to clipboard operation
kotlin-style-guide copied to clipboard

Sharing internal corporate coding conventions

Open voddan opened this issue 8 years ago • 3 comments
trafficstars

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.

voddan avatar Jul 22 '17 08:07 voddan

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.

mikehearn avatar Jul 24 '17 13:07 mikehearn

Me: Adam Bennett Company: Blockchain (specifically team Android) Link: https://github.com/ditn/KotlinStyleGuide

ditn avatar Jul 24 '17 16:07 ditn

Me: Chris Horner Company: Gridstone Link: https://github.com/Gridstone/KotlinStyleGuide

chris-horner avatar Jul 25 '17 03:07 chris-horner