Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How much is too much?
Message
From
27/02/2007 09:23:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How much is too much?
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01199105
Message ID:
01199105
Views:
58
I am doing some maintenance on an ASP.NET app. The app is split into 3 tiers and is extremely object-oriented. I wanted to see the logic used when added line items to a detail section, so I set a breakpoint in the Page_Load event. To help understand the flow, I closed all open documents in my IDE except for this webform and its code page.

About 250 Step Into's later, I hit my first call to the DAL. There are now about 40 files open that I had to step through. There's no real magic going on here... just a simple call to the database and displaying records. It probably could have been done in under 50 lines. I still haven't answered my initial question.

Is a situation like this normal in the real world, or did the developer before me have way too much time on his hands to program (and not enough to document)?

When does sophisticated and powerful code cross the "not easy to maintain" line?

I usually try not to criticize other people's code as I know I have a lot to learn yet, and I have learned a lot from this previous developer, but I have spent way too much time trying to fix a few small issues.
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform