Day7
• Studied more about Sealed Class - did some googling, read some
medium articles
• Pairs(chaining, destructuring / can use pairs to return multiple values in function)
• Collections (listOf, mutableListOf - add, remove, contains, subList, sum, sumBy / mapOf, mutableMapOf - get, getOrDefault, getOrElse)
Self-Comment
• Actually yesterday I didn’t understand why this “Sealed Class” is so good, but now I get it.
• Emm.. somehow it was hard to concentrate today. Maybe I should examine my routines, need to exercise more regularly and wake up earlier. Waking up late seems to ruin the daytime.
Goals Tomorrow
• Generic classes and functions / finish lesson 5
• Check on android x kotlin lecture and work on the first tutorial dice roller thing