- cross-posted to:
- programmer_humor@programming.dev
- programmerhumor@lemmy.ml
- cross-posted to:
- programmer_humor@programming.dev
- programmerhumor@lemmy.ml
Made with KolourPaint and screenshots from Kate (with the GitHub theme).
Made with KolourPaint and screenshots from Kate (with the GitHub theme).
Kotlin knows mutable and immutable variables.
varindicate mutables andvalwould indicate immutables (comparable with thefinalmodifier in java andconstin JavaScript/TypeScript).So a var can start as a string and later be an integer?
No, the type is strict and fixed.
deleted by creator