Click here to Skip to main content
15,887,676 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Productivity Wars Pin
R. Erasmus11-Jun-13 3:28
R. Erasmus11-Jun-13 3:28 
GeneralRe: Productivity Wars Pin
jesarg7-Jun-13 6:14
jesarg7-Jun-13 6:14 
GeneralRe: Productivity Wars Pin
Chris Maunder7-Jun-13 14:57
cofounderChris Maunder7-Jun-13 14:57 
GeneralRe: Productivity Wars Pin
AspDotNetDev7-Jun-13 15:18
protectorAspDotNetDev7-Jun-13 15:18 
GeneralRe: Productivity Wars Pin
V.9-Jun-13 22:22
professionalV.9-Jun-13 22:22 
GeneralRe: Productivity Wars Pin
harold aptroot10-Jun-13 3:19
harold aptroot10-Jun-13 3:19 
GeneralRe: Productivity Wars Pin
YvesDaoust10-Jun-13 20:47
YvesDaoust10-Jun-13 20:47 
GeneralRe: Productivity Wars Pin
Fran Porretto11-Jun-13 1:00
Fran Porretto11-Jun-13 1:00 

Third-party technology is just great...when it's right at all.

Let's leave aside considerations such as bugs in the package. IBM's old mantra that "you never get the last thousand bugs out" will be true until the Sun goes nova, and we all know it. But the probability of such bugs in a third-party package is much less than that of bugs in one's own, newly designed solutions, so it's a false trail in discussions like this one.

The ugly secret about third-party tech is that packaged solutions are never free of constraints. To use a third-party library, you have to be reasonably certain that the constraints it will impose on your application are bearable. Sometimes, you have to err on the side of caution and decline to take the risk.

My business is hard-real-time, so I'm very sensitive to that. If a third-party package can't guarantee me performance within my time constraints, then I can't use it. Not "won't." Can't.

Other sorts of development have other needs. I recently turned away from a popular XML parser because it imposed a callback requirement on a legacy application whose architecture was inimical to that approach. In another recent case, I spurned a set of .NET facilities because they'd clash with my need to keep the addresses of certain dynamic memory constructs stable. No doubt there are other cases of this sort that I just can't recall this morning.

The application is the ultimate determinant. Does the third-party library you're considering fit within the application's constraint envelope? Does it make "philosophical" demands on the application's architecture? Might there be forward-looking consequences to using it that should be considered in the present? Will your wife find out? Everything matters. As some very bright people have said:

"You can never do only one thing." -- Marc Stiegler.

"TANSTAAFL!" -- Robert A. Heinlein.

(This message is programming you in ways you cannot detect. Be afraid.)

GeneralRe: Productivity Wars Pin
vonb11-Jun-13 1:40
vonb11-Jun-13 1:40 
GeneralRe: Productivity Wars Pin
Dominic Amann11-Jun-13 2:52
Dominic Amann11-Jun-13 2:52 
GeneralRe: Productivity Wars Pin
jim lahey11-Jun-13 6:00
jim lahey11-Jun-13 6:00 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 4:08
StatementTerminator11-Jun-13 4:08 
GeneralRe: Productivity Wars Pin
BrainiacV11-Jun-13 4:40
BrainiacV11-Jun-13 4:40 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 5:00
StatementTerminator11-Jun-13 5:00 
GeneralRe: Productivity Wars Pin
jnlt11-Jun-13 6:10
jnlt11-Jun-13 6:10 
GeneralRe: Productivity Wars Pin
CarlosAlbertoEstrada11-Jun-13 6:11
CarlosAlbertoEstrada11-Jun-13 6:11 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 6:43
StatementTerminator11-Jun-13 6:43 
GeneralRe: Productivity Wars Pin
RafagaX11-Jun-13 7:31
professionalRafagaX11-Jun-13 7:31 
GeneralRe: Productivity Wars Pin
jschell11-Jun-13 8:19
jschell11-Jun-13 8:19 
GeneralDeveloper whose first language is not English Pin
Chris Quinn7-Jun-13 3:17
Chris Quinn7-Jun-13 3:17 
GeneralRe: Developer whose first language is not English Pin
jim lahey7-Jun-13 4:57
jim lahey7-Jun-13 4:57 
GeneralRe: Developer whose first language is not English Pin
OriginalGriff7-Jun-13 5:02
mveOriginalGriff7-Jun-13 5:02 
GeneralRe: Developer whose first language is not English Pin
ENOTTY7-Jun-13 5:08
ENOTTY7-Jun-13 5:08 
GeneralRe: Developer whose first language is not English Pin
AlphaDeltaTheta11-Jun-13 16:34
AlphaDeltaTheta11-Jun-13 16:34 
JokeRe: Developer whose first language is not English Pin
Vladimir Svyatski2-Jul-13 9:39
professionalVladimir Svyatski2-Jul-13 9:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.