qualitymatters icon indicating copy to clipboard operation
qualitymatters copied to clipboard

Get rid of Java in favor of Kotlin

Open artem-zinnatullin opened this issue 8 years ago • 10 comments

artem-zinnatullin avatar May 18 '16 23:05 artem-zinnatullin

If this project is meant to showcase best practices for quality Android development i think it would be silly to replace the language that the vast majority of Android developers are using( not to mention is officially supported ). At least bases on my vastly uniformed understanding of current kotlin utilization levels now i believe it would vastly diminish the value of the project.

I am however fully in favor of having portions or even full sections being in kotlin.

williamwebb avatar May 19 '16 02:05 williamwebb

I agree with @artem-zinnatullin, using Kotlin is one of the best practice for Android developers now. But we should keep Java as a separate branch.

I'd like to help you on this issue, Artem. Please tell me if I can help you anything.

lenguyenthanh avatar May 19 '16 04:05 lenguyenthanh

Well, I definitely won't be able to support 2 versions of the app in different languages…

At least bases on my vastly uniformed understanding of current kotlin utilization levels now i believe it would vastly diminish the value of the project.

http://artemzin.com/blog/state-of-kotlin-as-main-language-for-android-project/

@lenguyenthanh thanks for suggesting your help, I'll ping you if something will be required besides code review!

artem-zinnatullin avatar May 19 '16 15:05 artem-zinnatullin

I've read your article :). I meant utilization within the Android development community, not the viability of the language.

williamwebb avatar May 19 '16 15:05 williamwebb

Well, quality of the code is part of quality matters :)

On Thu, May 19, 2016 at 6:15 PM, William Webb [email protected] wrote:

I've read your article :). I meant utilization within the Android development community, not the viability of the language.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/artem-zinnatullin/qualitymatters/issues/177#issuecomment-220356453

artem-zinnatullin avatar May 19 '16 17:05 artem-zinnatullin

@artem-zinnatullin always ready to help :). It's hard to convince people here to use Kotlin :(.

lenguyenthanh avatar May 20 '16 02:05 lenguyenthanh

@lenguyenthanh you can add kotlin by parts, I mean, kotlin is 100% interoperable with java, so you can have both files inside same project and compile them, use java from kotlin and kotlin from java, and have a low footprint inside the project because of Kotlin itself

danielgomezrico avatar Oct 10 '16 20:10 danielgomezrico

You can also enable kotlin for functional and integration tests and then move to other parts of the app.

serj-lotutovici avatar Oct 11 '16 10:10 serj-lotutovici

Hey, say this was still open. Is this still wanted?

adamint avatar Sep 28 '17 20:09 adamint

Yes

artem-zinnatullin avatar Oct 04 '17 11:10 artem-zinnatullin