3 ms·
You can also draw parallels with Go's approach to interfaces, and Go is not the pioneer in using this approach. Or you can draw parallels with extension classes
by nine_k 13y ago
You can also draw parallels with Go's approach to interfaces, and Go is not the pioneer in using this approach. Or you can draw parallels with extension classes in C# or Scala.
This is a sort of pretty common stuff, imho. Not some crown jewel Python has snatched from a unique language that was the only one to implement it.
I use Python since ~1999, and had a chance to observe how the language has imported a number of approaches from other languages, usually to a great benefit of its users. This is one more step. Note how it does not introduce a single bit of new syntax or backward incompatibility, btw.
- moomin 13y agoActually, you're right. Python's functionality is pretty close to C#'s. Clojure just happens to be the language that introduced the concept of non-single-class polymorphism to me. Rich Hickey's pretty open about the fact that there's very few original ideas in Clojure. When he presented the new reader/EDN features of Clojure 1.4, someone in the crowd told him it was very similar to YAML. He said "I didn't know that, I ripped it off Erlang, but I'm sure other people have had the same idea." (words to that effect)