Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 21st, 2008, 5:50 PM   #1
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 237
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Need some advice

I don't know if many of you have ever been in this situation, but recently I was thrown into this and I'm still trying to figure out what to do.

Here's my problem:
At work, for the first time we were contracted to continue work on software that someone else had initially developed, this is a new experience for me, prior to this all software I had worked on was created in house, from scratch.

Anyways, the problem is such, the company that initially built this thing did so in a manner of coding which I feel is very unsupportable, unchangeable, lots of hardcoded things everywhere, bad database design, etc, etc, etc.

Now the management at my company don't understand all this, they just see the end product running and think, "oh its such a great product" and give us developers very limited time to make additions/changes. which means, we can't fix anything completely.

The previous company also apparently had something against microsoft, instead of using pre-built controls they re-implemented thousands and thousands of lines of code to make their own controls, anything but minor changes to the way it already works is quite a chore.

now to the advice gathering questions:

-do i continue to follow the standards set by the original makers (use their pre-built controls rather than stuff like ajax toolkit which currently is not used at all, would it be bad to add this just for one new page, even though all the old pages will remain under the original implementation due to the face noone will pay to change them?) or do i introduce new ways which i feel are better but then throws off the standard processes the rest of the app follows?

so i guess the real question is:
- do i just keep adding the the madness that already exists or do i break the standards, except then the app would have 2 different ways of doing things.

-what other type of damage control can i possibly do since noone will pay for modifying something that already works?

share your experiences of stuff like this with me, what did you do? how did you handle it?

thanks guys
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Apr 21st, 2008, 6:22 PM   #2
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Re: Need some advice

Being a mainframe programmer, I can relate to your experience. We have millions of lines of code that was converted from assembly to COBOL using automated software leaving hundreds of GO TO's all over the place.

Even though the system has its caveats, it is one of the most capable, expandable, and reliable insurance administration systems out there. So, I know that we'll be keeping it for a long time. Our modification policy has been to preserve base functionality and methods(including goto's) which was proven to work. However, when we add new code, we have to abide by strict standards to make our code more readable and maintainable.
OpenLoop is offline   Reply With Quote
Old Apr 21st, 2008, 7:35 PM   #3
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 528
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Need some advice

>>do i continue to follow the standards set by the original makers (use their pre-built controls
Yes -- don't fix it if it ain't broke.

>>or do i introduce new ways
No -- leave it as it is. If someone wants to pay you to rewrite major parts of the problem that would be different -- but don't do it for free.

>> do i just keep adding the the madness that already exists
Yes, unless you can talk management into paying to correct the flaws, which is unlikely. Create a list of all the things that need to be changed and an estimate of how long it will take you to complete (code, debug and test) the changes. Present this to management and let them decide if it is worth fixing or not.

I suspect one reason the original programmers implemented their own controls is so that Microsoft (or whoever) can't pull the rug out from under them. Microsoft is noted for making major changes to c++ classes from one compiler version to the next. MFC is a good example -- it underwent some major changes between VC++ 6.0 and VC++ 2005.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old Apr 21st, 2008, 8:16 PM   #4
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 751
Rep Power: 3 Jimbo is on a distinguished road
Re: Need some advice

Probably better to follow the existing patterns for now. If your company is taking a long-term ownership, you might recommend something along the lines of fixing things as it breaks or as new code is introduced, but re-writing is overly expensive and tends to introduce new bugs or regressions.

Sounds like a nice enterprisey software to work on (</dailyWTFreference>).
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote
Old Apr 22nd, 2008, 12:50 AM   #5
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 237
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Re: Need some advice

thanks guys, you're probably right
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thinking about moving to USA to work in software - advice please! funkey_monkey Coder's Corner Lounge 3 Jan 23rd, 2007 7:56 AM
Need Advice ggv1 Community Introductions 5 Feb 23rd, 2006 11:11 PM
New to OO need advice to create the classes weeb0 C++ 15 Jan 31st, 2006 7:49 PM
advice bl00dninja Coder's Corner Lounge 3 Feb 5th, 2005 8:03 AM
Hello/ I would like some advice Dryad of Shadow Community Introductions 14 Jan 23rd, 2005 12:27 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:54 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC