Mutable vals in Kotlin



When I first learned Kotlin, the difference between val and var seemed simple: val means immutable and var means mutable. The truth is more nuanced than that: val does not mean immutable, val means read-only.

from Pocket http://ift.tt/2rfILxL
via IFTTT

このブログの人気の投稿

温暖化で海面上昇するとどこが水没するか一発で分かる地図「Flood Maps」レビュー、未来の日本の海岸線はどうなっているのか?