`Day5` - abstract class (abstract/override) interf...
# 100daysofkotlin-2021
j
Day5
• abstract class (abstract/override) interface (default implementation) object(can have only one instance - kotlin way of implementing Singleton design pattern) • composition & interface delegation (handle overrides by interface delegation) • ideations for side project (created private repos and made several issues on issue board)
Self-Comment
• interface delegation - this seems to be really nice🤔 • Last semester, I learned (super basics of) design pattern in java. It's cool that I can relate
object
keyword in kotlin with Singleton pattern ! • As the lecture goes through OOP part, it takes longer than introductory parts. Takes more time to actually implement code, understand thoroughly, and take notes in notion. • Plus, algorithm problem solving takes too much energy lol, so I kinda get exhausted 👻 and lose concentration to go through kotlin. But algorithm ps is in higher priority for at least this week.. so I just have to keep balance somehow.
Goals Tomorrow
• Finish OOP in Kotlin • python algorithm PS - heap, DFS/BFS
🔥 2