I saw code like this when on the road. It looked similar but not the same. I got asked to splice a piece of Program A together with a piece of Program B. I got it to compile together by means of writing a big kludgey “thunk” to interface the similar, but not identical, interfaces. Then, mercifully, I got called onto a different project.
USE SOME DECORATOR ATTRIBUTES AND ABSTRACT CLASSES FERGAHSAKE!
(Not you. Indians. I’m yelling at Indians.)
I worked at an IT company that was mostly Indian for almost two years. It was racist how almost everyone they hired was Indian.