8

Been reading about this mess called C# 8.... WHY THE FUCKING HELL DO YOU THINK ALLOWING FUCKING INTERFACES TO HAVE DEFAULT METHOD IMPLEMENTATIONS IS A FUCKING GOOD IDEA?

Just Can't wrap my head around this stupid idea... Help me out here fellas...

Comments
  • 0
    They have come to realize that not everything was bad with C++'s multiple inheritance...
  • 2
    Because some parts of the implementation will always be the same. Eg writing to file, encoding/decoding an object might be different but putting that stuff into a file is always the same, it reduces boiler plate code.
  • 1
    @alwaysmpe isn't that why we have Abstract classes... which can also implement the interface?
  • 0
    I think since you can inherit from multiple Interfaces and only one base class this is a way to allow for multiple inheritance with Implementation or default values?
  • 1
    I'm in two minds about it.
    1. Cool! A new feature!
    2. Hmmm... Don't know if I like this one, because it may not result in good design
Add Comment