https://kotlinlang.org logo
#feed
Title
# feed
n

Nikky

07/01/2019, 6:24 PM
did he really call kotli na cute baby that has to grow up ?
a

altavir

07/01/2019, 7:46 PM
Well, Java is good and going in the right direction. The problem is you need to live really long to see the right things happen.
🧌 1
☝️ 12
p

pivovarit

07/01/2019, 9:51 PM
Keep in mind that Venkat is a big fan of Kotlin 🙂
👆 2
👍 4
t

Tuan Kiet

07/02/2019, 3:51 AM
why this is funny
j

janvladimirmostert

07/02/2019, 3:30 PM
i wonder how they would implement null-safety without breaking the language
probably annotations, @NotNullable or something else that's verbose
p

pivovarit

07/02/2019, 3:39 PM
i wonder how they would implement null-safety without breaking the language
The same way the Kotlin did 😉
j

janvladimirmostert

07/02/2019, 3:40 PM
Java would have to do it the other way around, String would have to be nullable and @String or String? would have to be non-nullable
Unless they introduce a breaking change which they probably won't do
p

pivovarit

07/02/2019, 3:43 PM
Well, in Java you’d need to go the other way around since current type system assumes that everything is nullable
But other than that, no biggie - just like with Kotlin
Another issue is if it makes sense to introduce something like that to an established language and commit to maintaining it potentially forever
j

janvladimirmostert

07/02/2019, 3:49 PM
they could probably just continue to treat String like String! and then introduce ? for nullable and some other symbol for non-nullable. Would be weird working on a mixed Kotlin-Java project where the meaning of String? is swopped between Java and Kotlin
v

v0ldem0rt

07/02/2019, 3:57 PM
No offense but I think this is pure marketing stunt pulled off by Oracle. Oracle knows that it has been lagging on Java and with new JDK release cycle/policy the F**KED UP! Google is now pushing behind Kotlin and I don't see a reason why Kotlin won't give a strong competition to Java proving "baby" that has evolved already.
p

Pett4j

07/02/2019, 6:21 PM
If you want to avoid completely null, you can use Optional.
Actually, Java will never be a mobile language again!
j

janvladimirmostert

07/02/2019, 6:29 PM
yeah, especially not after that Oracle lawsuit against Google
👆 3
5 Views