Skip to content

Update to make more idiomatic#23

Open
rbranham wants to merge 1 commit intogoogle-developer-training:masterfrom
rbranham:master
Open

Update to make more idiomatic#23
rbranham wants to merge 1 commit intogoogle-developer-training:masterfrom
rbranham:master

Conversation

@rbranham
Copy link
Copy Markdown

Since there is an emphasis on writing concise code, I think it would be a good idea to have the when expression directly be an argument. It will save a variable definition and is more in line with the Kotlin style. Code lab documents probably need to be updated as well but could not find if they were open source to suggest an update.

Since there is an emphasis on writing concise code, I think it would be a good idea to have the when expression directly be an argument. It will save a variable definition and is more in line with Kotlin style. Code lab documents probably need to be updated as well but could not find if they were open source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant