Is it poor programming practice?
By
CyberAbc, in Community Lounge
Programming Practice
2 members have voted
-
1. Is it poor programming practice to pass parameters as objects?
-
Are you making code more maintainable?0
-
Or just covering up poorly defined methods?
-
If a method accepts a parameter of type Object, I should expect that any object I pass to the method will work.0
-
What it sounds like is that only certain subclasses of Object are allowed.0
-