Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !
242 – Kotlin Code Formatting with ktfmt and spotless
Fetch error
Hmmm there seems to be a problem fetching this series right now. Last successful fetch was on September 19, 2024 14:20 ()
What now? This series will be checked again in the next day. If you believe it should be working, please verify the publisher's feed link below is valid and includes actual episode links. You can contact support to request the feed be immediately fetched.
Manage episode 358411261 series 127220
Your browser does not support theaudio
element.
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
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
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.
76 tập
Fetch error
Hmmm there seems to be a problem fetching this series right now. Last successful fetch was on September 19, 2024 14:20 ()
What now? This series will be checked again in the next day. If you believe it should be working, please verify the publisher's feed link below is valid and includes actual episode links. You can contact support to request the feed be immediately fetched.
Manage episode 358411261 series 127220
Your browser does not support theaudio
element.
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
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
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.
76 tập
Tous les épisodes
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.