176: Kotlin’s !! Operator is a Code Smell

Download

Kotlin isn’t a magic bullet that prevents NullPointerExceptions.

Not at all.

What Kotlin does do is force you to think about how you want to handle your nulls. through Kotlin forcing you to think this through, the hope is that you’ll avoid NullPointerExceptions. The only problem is, Kotlin has the !! operator, also known as the “Not Null Assertion Operator”. This operator basically says “Hey Kotlin, trust me, I’m a pro, I know what I’m doing … I KNOW THIS WON’T BE NULL”.

This… is a code smell.

In this episode, Donn walks through why Kotlin’s Not Null Assertion Operator (!!) is a code smell and what you can do to alleviate it.

Sponsor

This episode is sponsored by Bitrise

Build and operate better apps, faster with Bitrise.

Learn more about Bitrise

Contact

175: Kotlin or Java – Which one should you learn?

Download

One question that Kaushik and I get all the time is this …

I’m starting to learn how to build Android apps, which language should
I learn? Kotlin or Java?

In this episode Donn answers this question and gives valid points on why both languages are valid options and why you might want to consider one over the other.

He provides caveats to why you might want to use one language over another and some of the trade offs of Java and Kotlin and how they operate together.

If you’re wrestling with this question, this is the show for you …

Thanks to this week’s sponsor: Bitrise

Build amazing apps in Java, Kotlin or whatever tech you prefer and use Bitrise to automate your Android integration, build, test and deploy process quickly and easily. Sign up for an exquisite pair of Bitrise Branded Socks, here! https://go.bitrise.io/fragmented

Contact

174: Testing RxJava, Debugging and More


Download

Kaushik is back in this weeks podcast. ūüéČ

Donn and Kaushik talk about testing RxJava streams with a Kotlin extension method and how and when to test various scenarios. Donn talks about his thoughts on the Testing Pyramid and why he thinks it’s incorrect and how you can help shift your thinking in regards to it. They then talk about IDE themes and how the theme can help you with your day to day development and more.

They wrap up with some talk about developing on Macs vs Windows and Linux.

We hope you enjoy …

Contact

173: What Pattern Should I Use – MVP, MVVM, MVI …?

Download

This week Donn talks about what pattern you should use when developing your application. Is it MVP? MVVM? Mabye MVI? Perhaps it’s something else. Find out in this episode.

We hope you enjoy …

Shownotes

Patters

Mocking Out the API in Espresso

Contact

172: Coil Image Loading Library with Colin White

Download

In this episode Donn and Kaushik sit down with Instacart Engineer Colin White to discuss a new image library he has created called Coil.

Coil is a Kotlin-first image library that focuses on ease of use, simplicity and extensibility. In this episode we ask him the question you’re probably wondering … “Why create an image library, isn’t this a solved problem already?” and then move onto the details of how the library works, and what it offers developers.

From Donn’s perspective – It’s an interesting library and gives you what you need with minimal footprint but offers you the extensibility that you’d want in the future. Its a good balance of “just enough” and “I might need this”.

Enjoy

Show Notes

Contact