HiddenLayer555@lemmy.mlcake to Programmer Humor@lemmy.mlEnglish · 3 months agoWhy make it complicated?lemmy.mlimagemessage-square15linkfedilinkarrow-up143arrow-down18file-textcross-posted to: programmer_humor@programming.dev
arrow-up135arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.mlcake to Programmer Humor@lemmy.mlEnglish · 3 months agomessage-square15linkfedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squareByteWelder@feddit.nllinkfedilinkEnglisharrow-up2·3 months agoIn Kotlin, you can have the type become implicit with the former syntax: let text = number.toString() (text is a String here)
In Kotlin, you can have the type become implicit with the former syntax:
let text = number.toString()
(text
is aString
here)