Timeline for Applying Composition Over Inheritance to Page objects
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 27, 2019 at 12:05 | comment | added | Robert Bräutigam | I disagree with your very first sentence. Having a "base" page in the sense we are talking about is exactly the reason inheritance has such a bad reputation. It is a misuse of inheritance. It is a workaround for "sharing" similar code between classes. The better solution being creating the necessary abstraction instead of just sharing random code blocks through inheritance. | |
May 26, 2019 at 17:41 | history | answered | Greg Burghardt | CC BY-SA 4.0 |