jooohn2018 RetrospectiveAs my workday will start tomorrow, I want to look back what the last year was like for me, and think about this year a bit.Jan 6, 2019Jan 6, 2019
jooohnFlexible polymorphism with type classes in ScalaDo you know what are type classes? Type classes are powerful tools to enable ad-hoc polymorphism. To achieve polymorphism, subtyping seems…Jun 17, 2018Jun 17, 2018
jooohnWhy pure functions are so goodA pure function is a function which values are determined only by its input values without causing any side effects. Functional Programming…Jun 11, 2018Jun 11, 2018
jooohnWhy foldRight is beautifulIn Scala, we can use foldLeft and foldRight methods for collection types like List. Both methods recursively combine items into another…May 26, 20182May 26, 20182