scala kotlin

Scala vs Kotlin: Pimp my library

I've been introduced to the world of immutable data structures with the Scala programming language - to write I've been introduced to the Functional Programming world would sound too presumptuous. Although I wouldn't recommend its usage in my day-to-day projects, I'm still grateful to it for what I learned: my Java code is now definitely not the same because Scala made me aware of some failings in both the language and my coding practices. On the other hand, I became recently much interested in K

scala kotlin

Scala vs Kotlin: Multiple Inheritance and the Diamond problem

Inheritance is one of the basic tenet of Object-Oriented Programming, along with encapsulation and polymorphism. Alongside simple inheritance, there is multiple inheritance: feature of some object-oriented computer programming languages in which an object or class can inherit characteristics and features from more than one parent object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class. C++ is famous for allowing