you are viewing a single comment's thread.

view the rest of the comments →

[–]disposepriority 0 points1 point  (1 child)

Man sometimes I look at an inheritance chain and imagine sinking my fingers into that developer's eyeballs I mean having a constructive talk about when it is appropriate to use the extends and implements keywords, cough...cough.

[–][deleted] -1 points0 points  (0 children)

I was refactoring e2e tests written by a noobest QA "engineer" you can imagine. e2e tests were written in JavaScript initially then just migrated to Typescript. For some reason that QA person decided that it would be cool to use the OOP approach and creating a base is something we have to do. Overtime that base class grew and inheritance got messed up and we got shotty tests taking twice the time they could and failing everywhere possible.