Posts

Showing posts with the label java

Kotlin vs. Java : Which one is a Better for Android App Development?

Image
What happens when you convert your app's code from Java to Kotlin ? It takes longer to compile!   Right? I can understand…………… The codebase is smaller and more maintainable on Kotlin than its Java predecessor. And because of it, the transition is worth it. But some devs might be worried about trying out Kotlin that their code will compile slower than Java. Well! Their concern is valid since no one wants to spend more time converting builds that take longer for Android app development. Hence, let's look at whether there is a significant difference in compile times before and after converting your Java code to Kotlin of the App Lock app, and we will also be focusing on judging the overall build time. How do we test build times? Write a few shell scripts to run Gradle repeatedly builds in various ways. It is to perform tests ten times consecutively.  Remember, What these shell scripts do is that they clean your project before each scenario. And also for times that use the Gra