Joined October 2013
·
Posted to
Structural typing and type classes in Scala
over 1 year
ago
@sksamuel Thanks! I don't hate structural classes as much as you seem to do, but I still prefer the type classes approach. :)
Achievements
202 Karma
8,396 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Platypus 3
Have at least three original repo where scala is the dominant language
Platypus
Have at least one original repo where scala is the dominant language
Komodo Dragon 3
Have at least three original repos where Java is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Narwhal 3
Have at least three original repos where Clojure is the dominant language
Narwhal
Have at least one original repo where Clojure is the dominant language
Edited: As @ignasi35 correctly pointed out (via Twitter), in the first paragraph, the problem of a class having to inherit an interface is not that much of a problem if it is your "shiny new class". The problem arises when you can't modify the class.