G
Guest
Hi,
I was given an ASP.NET (C#) application to modify.
The code looks really strange.
It's supposed to do simple things but it has
Facade/BusinessRules/Common/DataAccess layers.
For example,
simple method in Navigate.ascx.cs is instantiating a new object
and calls obj1.COBdateInit().
obj1 does exactly the same thing.
It call obj2.COBDateInit()
obj2 does the same thing again, it call obj3.COBdateInit()
and that one retrieves data.
Is it OOP? Why not to get data at the first step?
Isn't it an overkill?
Thanks,
RO
I was given an ASP.NET (C#) application to modify.
The code looks really strange.
It's supposed to do simple things but it has
Facade/BusinessRules/Common/DataAccess layers.
For example,
simple method in Navigate.ascx.cs is instantiating a new object
and calls obj1.COBdateInit().
obj1 does exactly the same thing.
It call obj2.COBDateInit()
obj2 does the same thing again, it call obj3.COBdateInit()
and that one retrieves data.
Is it OOP? Why not to get data at the first step?
Isn't it an overkill?
Thanks,
RO