93
Why make it complicated?
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
In Kotlin, you can have the type become implicit with the former syntax:
let text = number.toString()
(text
is aString
here)You can also do that in TypeScript