Pros and cons of inheritance:
+ Self-updating
- Spaghetti
- Copypasta
Discuss
Name:
Anonymous2007-03-05 8:59 ID:6oV5yJQd
- All methods should be virtual
- No method final
- No class abstract
- No properties private
- All types dynamic
- All collections heterogeneous
- No polymorphism or casting rules - everything works as long as it works
- All code is thus generic
- Multiple inheritance
- Mixins and realtime class, object, object's class and object's inheritance manipulation at will
- Lazy evaluation whenever possible
- Abuse of first-class functions
- Abuse of anonymous closures
- Macros a welcome feature
That's the vet's way of programming. If you don't like dynamic languages, then I suggest you stick with today's special: Java.