Kotlin / Bob / DigDeeper: Maybe add a pattern matching approach

Hi there,

I completed the Bob exercise in Kotlin.
I then looked into the DigDeeper section / document and found out that there was no section regarding a pattern matching approach using when. The if expression approach is somewhat related but not the same.

I think it would be a good fit to add an approach like this as a separate section here. How do you think about the suggestion?

Agreed! Would you be interesting in adding that approach?

I will provide a draft PR with the changes in the next few days or one to two weeks!

2 Likes

I opened a pull request at https://github.com/exercism/kotlin/pull/629

2 Likes