In this episode, we talk to Jake Wharton of Google on a recent Kotlin coding style guide that they released: the Android Kotlin Guides. In this episode, we pick his brains and ask him how he structured the guide, how he partitioned it to fit some of the idiosyncrasies of Kotlin, what some of the challenges were, when coming up with the guide and much more.
Jake's one of the best out there and it's always such a pleasure to have him on the show. Listen on:
Show Notes
The style guides
Android Kotlin Guidesofficial github repo for Android Kotlin guidesGoogle Java Style GuideJetbrains Coding conventionsJetbrains collection of Kotlin idioms (also very useful)Building the style guide
JekyllAndroid Testing support library website (inspiration for how to set it up) (github)Android Kotlin Guides
Annotation use-site targets with Kotlinguide on interop and file-names for use-site targetslogical ordering explanation for ordering companion objectI am the reason for Hungarian notation - Cedric Beust blog postMockito when problems:
Kotlin reserved keywordsMockito Kotlin library (aliases when -> whenever)Misc
Where to break linesImmutable collection prototypes for Kotlin@Kotlin tweet on immutable collections@JvmOverloads (we love this!)Contributing
Contribute to github issues on Android Kotlin GuidesSponsors
Rollbar - special offer: Bootstrap plan free for 90 daysContact
@JakeWharton [twitter.com]@fragmentedcast [twitter.com]@donnfelker and +DonnFelker@kaushikgopal and +KaushikGopalIsMe