0 LIKES LikeUnLike
Hi, I'm trying to convince the "lead developer" not to duplicate code when overloading methods but corroborating "best practices" are hard to find.When he overloads methods, he has the guts of the method duplicated across every overload. That methodology is *much* harder to manage IMO. I prefer having all of the main logic exist in one place (such as in a protected method) with all of the public overloads calling the primary method.Does anyone have a link to confirm my premise with my lead?If anyone has a better solution those are welcome too!
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.