News for hackers. Stuff that matters.
Re:Android KTX: Kotlin Development for Android by bitwize on Monday February 05, 2018 @03:54PM (#16312088)
Still working in Java on Android. Have a feeling that I will be left behind soon.
Re:Android KTX: Kotlin Development for Android by wootie512 on Monday February 05, 2018 @04:06PM (#16312187)
Same here. On my my most recent project the client requested we use Java, since after they take over they can use devs with Java knowledge.
Re:Android KTX: Kotlin Development for Android by firefruit on Monday February 05, 2018 @04:23PM (#16312322)
It will take a week or two to convert experienced Java devs to Kotlin.
Re:Android KTX: Kotlin Development for Android by wootie512 on Monday February 05, 2018 @05:53PM (#16312991)
Yea I agree. I like Kotlin a lot and found the transfer from Java to Kotlin fairly straightforward.

Just not all clients are open to one more thing for their devs to do/learn. In the specific case for us, the devs were new to Android so they wanted to use a language they were comfortable in.

Re:Android KTX: Kotlin Development for Android by pennaMan on Tuesday February 06, 2018 @07:06AM (#16315719)
If they are new to Android how are they comfortable in Androids' take on Java? Trying to use paradigms from enterprise/server side Java in Android is going to backfire hard on all but the most trivial projects.
Re:Android KTX: Kotlin Development for Android by shrewduser on Monday February 05, 2018 @04:47PM (#16312532)
you really wont be, it's like a couple of weeks and you'll be up and running in kotlin.
Re:Android KTX: Kotlin Development for Android by bitwize on Monday February 05, 2018 @06:24PM (#16313200)
I don't mind Kotlin, but I don't want to get a big middle finger from Google for choosing to remain with Java for this project I already started in Java.
Re:Android KTX: Kotlin Development for Android by kllrnohj on Monday February 05, 2018 @08:13PM (#16313714)
Kotlin & Java interop really seamlessly, that's one of kotlin's biggest features. Not interops like there's an FFI that is obviously an FFI, but interops like there's not much obvious difference between calling either way.

You won't get the kotlin syntax sugar, of course, but you're not going to be missing any features, either.

Re:Android KTX: Kotlin Development for Android by BoorishBears on Tuesday February 06, 2018 @01:12AM (#16314732)
I’ve used Kotlin enough to be comfortable but Java is still my go to for personal projects.

Java + StreamSupport + RxJava (and formerly + Retrolambda) is a very modern feeling language.

Heavy use of Optional makes the null safety issues a little less worrying and all my apps are built around AutoValue objects which are a bit like Kotlin data classes.

Re:Android KTX: Kotlin Development for Android by mrath on Tuesday February 06, 2018 @05:57AM (#16315501)
And apparently Java 10 has ,`var` keyword. It won't be long before Java has all the goodness.