Attention all project managers, budget holders, decision makers wrt. where to get development resource ... This is for you !
Subbing out development to India is a bad bad bad idea.
I have just spent most of today picking my way through the tuliptest bit of Java you have ever laid your eyes on.
No comments, badly/inconsistently indented, 1 try/catch block enclosing the _entire_ thing !!! Its a nightmare
Eventually found the problem - within the catch block, they were performing a database insert to record the error that was caught. There were composing an INSERT statement using the error text from the exception along the lines of:
Trouble is, the exception message has single quotes in it - ORA-01536: space quota exceeded for tablespace 'MAXDATA'
so, the resultant string passed to Oracle was:
The observant amongst you will also notice the other glaring flaw with this - if the original INSERT failed due to tablespace exceeded, and the exception was thrown, why would this INSERT within the catch block ever run ?
Jeez - they got paid for this as well !
So, offshore development might be cheaper initially, but how much does it cost when a) it is not running as intended, and b) someone is picking their way through it when they should be doing what you are paying them to do
Tantrum over ..... and breath ........
Subbing out development to India is a bad bad bad idea.
I have just spent most of today picking my way through the tuliptest bit of Java you have ever laid your eyes on.
No comments, badly/inconsistently indented, 1 try/catch block enclosing the _entire_ thing !!! Its a nightmare
Eventually found the problem - within the catch block, they were performing a database insert to record the error that was caught. There were composing an INSERT statement using the error text from the exception along the lines of:
Code:
String msg_erException = er.getMessage(); String updateErrorTable = "INSERT INTO ERRORLOG (COL1, COL2) VALUES ('some id', '" + msg_erException + '")";
so, the resultant string passed to Oracle was:
Code:
INSERT INTO ERRORLOG (COL1, COL2) VALUES ('some id', 'ORA-01536: space quota exceeded for tablespace 'MAXDATA'')
Jeez - they got paid for this as well !
So, offshore development might be cheaper initially, but how much does it cost when a) it is not running as intended, and b) someone is picking their way through it when they should be doing what you are paying them to do
Tantrum over ..... and breath ........
Comment