Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@Richard Reese: What about multiple inheritance

 
Holger Herrmann
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Richard,
I saw an introduction to Lambdas in Java 8 by Simon Ritter at the w-jax 2013 in London.
He also said a little bit abuot multiple inheritance and default methods in interfaces.
His opinion seemed to be: multiple inheritance in methods is good, but in attributes it's very bad!

What do you think?
Greetings,
Holger
 
Richard Reese
author
Ranch Hand
Posts: 84
5
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Holger,

I feel that multiple inheritance is another tool programmers have to solve problems. You just have to be careful how you use the tool. It’s not so much that one feature is good or bad as much as understanding when to use something like multiple inheritance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic