I saw an article which introduced Type Classes:
Type classes are a programming pattern originating in Haskell. They allow us to extend existing libraries with new functionality, without using traditional inheritance, and without altering the original library source code.
There are three important components to the type class pattern: the type class itself, instances for particular types, and the methods that use type classes.
To be honest, I did not understand this article. I just want to know, can we simulate Type-Classes in VB6 to achieve class inheritance?
Quote:
Type classes are a programming pattern originating in Haskell. They allow us to extend existing libraries with new functionality, without using traditional inheritance, and without altering the original library source code.
There are three important components to the type class pattern: the type class itself, instances for particular types, and the methods that use type classes.