If it ain't broken don't fix it!
-
Well, I'm going through this programmable data pump and trying to get a hang of it, but the butcher that put it together's really got me goin' nuts, cause whenever I think some piece of code has secret purpose behind it and put some time into investigating what the heck it's doin' I end up looking at something like this: if(sNewMaintStatus==null) { Handler.execute(ixhandler, ixEvent, sSourceConnectionName, sDestinationConnectionName,sNewSpirnum, sSourceUser, sDestUser); } else if((sNewMaintStatus.equals("PARTIAL")) || sNewMaintStatus.equals("") || sNewMaintStatus.equals(null)) { Handler.execute(ixhandler, ixEvent, sSourceConnectionName, sDestinationConnectionName,sNewSpirnum, sSourceUser, sDestUser); } Which translates to: if (A=true) Execute block 1 else if (B=true || A=true || A=true) Execute block 1 Which in normal language translates to if (A=true || B=true) Execute block 1 So I called my boss, and I told him, listen man, this's a discrase, client's complainin' bout' the performance and reliablility and so on and he said IF IT AIN'T BROKEN WELL DON'T FIX IT :omg: ;P :wtf: Now does that sound familiar to you? Well, I had to share the pain!
-
Well, I'm going through this programmable data pump and trying to get a hang of it, but the butcher that put it together's really got me goin' nuts, cause whenever I think some piece of code has secret purpose behind it and put some time into investigating what the heck it's doin' I end up looking at something like this: if(sNewMaintStatus==null) { Handler.execute(ixhandler, ixEvent, sSourceConnectionName, sDestinationConnectionName,sNewSpirnum, sSourceUser, sDestUser); } else if((sNewMaintStatus.equals("PARTIAL")) || sNewMaintStatus.equals("") || sNewMaintStatus.equals(null)) { Handler.execute(ixhandler, ixEvent, sSourceConnectionName, sDestinationConnectionName,sNewSpirnum, sSourceUser, sDestUser); } Which translates to: if (A=true) Execute block 1 else if (B=true || A=true || A=true) Execute block 1 Which in normal language translates to if (A=true || B=true) Execute block 1 So I called my boss, and I told him, listen man, this's a discrase, client's complainin' bout' the performance and reliablility and so on and he said IF IT AIN'T BROKEN WELL DON'T FIX IT :omg: ;P :wtf: Now does that sound familiar to you? Well, I had to share the pain!
Fix it anyway, that's what I do.
-
Well, I'm going through this programmable data pump and trying to get a hang of it, but the butcher that put it together's really got me goin' nuts, cause whenever I think some piece of code has secret purpose behind it and put some time into investigating what the heck it's doin' I end up looking at something like this: if(sNewMaintStatus==null) { Handler.execute(ixhandler, ixEvent, sSourceConnectionName, sDestinationConnectionName,sNewSpirnum, sSourceUser, sDestUser); } else if((sNewMaintStatus.equals("PARTIAL")) || sNewMaintStatus.equals("") || sNewMaintStatus.equals(null)) { Handler.execute(ixhandler, ixEvent, sSourceConnectionName, sDestinationConnectionName,sNewSpirnum, sSourceUser, sDestUser); } Which translates to: if (A=true) Execute block 1 else if (B=true || A=true || A=true) Execute block 1 Which in normal language translates to if (A=true || B=true) Execute block 1 So I called my boss, and I told him, listen man, this's a discrase, client's complainin' bout' the performance and reliablility and so on and he said IF IT AIN'T BROKEN WELL DON'T FIX IT :omg: ;P :wtf: Now does that sound familiar to you? Well, I had to share the pain!
zgonja wrote:
IF IT AIN'T BROKEN WELL DON'T FIX IT
The consultancy corrolary is: If it ain't broke, break it and charge massive amounts to remove your foul ups.
Deja View - the feeling that you've seen this post before.
-
zgonja wrote:
IF IT AIN'T BROKEN WELL DON'T FIX IT
The consultancy corrolary is: If it ain't broke, break it and charge massive amounts to remove your foul ups.
Deja View - the feeling that you've seen this post before.
-
zgonja wrote:
IF IT AIN'T BROKEN WELL DON'T FIX IT
The consultancy corrolary is: If it ain't broke, break it and charge massive amounts to remove your foul ups.
Deja View - the feeling that you've seen this post before.