this post was submitted on 19 Jun 2025
57 points (86.1% liked)

Programmer Humor

36575 readers
353 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Made with KolourPaint and screenshots from Kate (with the GitHub theme).

you are viewing a single comment's thread
view the rest of the comments
[–] ByteWelder@feddit.nl 3 points 8 hours ago

In Kotlin, you can have the type become implicit with the former syntax: let text = number.toString() (text is a String here)