Kotlin / kotlin-by-example

The sources of Kotlin by Example.
https://play.kotlinlang.org/byExample/overview
MIT License
460 stars 897 forks source link

Added nested let example. #148

Closed gauranggoda closed 3 years ago

gauranggoda commented 3 years ago

Added nested let example which uses name instead of "It". It will be a helpful example when we see nested "let" function, we can not able to access outer let with "it" so I have changed it to named attribute.

p7nov commented 3 years ago

Hey! Thank you for this addition, it's really useful. I took the liberty to adjust the formatting and description a bit, now it's good to publish.

Thanks a lot!