Fragmented - Android Developer Podcast

242 - Kotlin Code Formatting with ktfmt and spotless


Listen Later

In this episode, Donn and Kaushik talk about one of the age old bike shedding topics - code formatting, and how you can solve it with automation and tools.

Code formatting can turn into an endless debate amongst peers and teams, and what Kaushik and Donn have found is that this can be delegated to a tool and automated. Freeing you and your team of having to worry about proper indentation, bracket placement, etc. By relying on a well defined tool and some automation you can clean your code up, make it much more uniform and easier maintain.

We talk about ktfmt, a Kotlin code formatter that was released by Facebook. We dive into ktlint, detekt and more. We also dive into spotless which can help you by integrating ktfmt into your gradle build pipeline.

Links
  • ktfmt - website, github
  • spotless - github
  • detekt - website
  • ktlint - website
Donn's Git Course

Need to learn Git? Donn has the course for you. In this FREE course you'll learn everything you need to know in order to start working with Git everyday. Watch it here.

AndroidJobs.IO
  • Job postings are FREE on AndroidJobs.IO during the early release phase (at the time of this recording).
  • Sign up to get notified of new jobs on a weekly basis as well.
  • AndroidJobs.IO
Software Freelancing
  • Donn's Freelance Faction Community
  • Freelance Tactics Book
  • Donn's Freelancing Content on YouTube
Contact

@fragmentedcast or our Youtube channel

@donnfelker and donnfelker (on Instagram)

Freelancing for Mobile Developers (Donn's YouTube)

kaushikgopal (on YouTube) or kau.sh/blog or @kaushikgopal

Disclaimer: Many of the links we share to products are affiliate links. They help support the production of Fragmented. Thank you for your support.

...more
View all episodesView all episodes
Download on the App Store

Fragmented - Android Developer PodcastBy Donn Felker, Kaushik Gopal

  • 5
  • 5
  • 5
  • 5
  • 5

5

67 ratings


More shows like Fragmented - Android Developer Podcast

View all
Planetary Radio: Space Exploration, Astronomy and Science by The Planetary Society

Planetary Radio: Space Exploration, Astronomy and Science

1,339 Listeners

Das Wissen | SWR by SWR

Das Wissen | SWR

121 Listeners

Motley Fool Money by The Motley Fool

Motley Fool Money

3,180 Listeners

Design Details by Brian Lovin, Marshall Bock

Design Details

361 Listeners

Developer Tea by Jonathan Cutrell

Developer Tea

402 Listeners

Does Not Compute by Sean Washington, Rockwell Schrock

Does Not Compute

53 Listeners

Toolsday by Una Kravets, Chris Dhanaraj

Toolsday

48 Listeners

Swift Unwrapped by JP Simard, Jesse Squires, Spec Network, Inc.

Swift Unwrapped

90 Listeners

Morning Brew Daily by Morning Brew

Morning Brew Daily

2,951 Listeners

Now in Android by Now in Android

Now in Android

6 Listeners

A Bit of Optimism by Simon Sinek

A Bit of Optimism

2,183 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

52 Listeners