Click here to Skip to main content
12,700,558 members (34,751 online)

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: Bug of the day Pin
Pablo Aliskevicius13-Jun-13 4:53
memberPablo Aliskevicius13-Jun-13 4:53 
GeneralRe: Bug of the day Pin
StatementTerminator13-Jun-13 6:40
memberStatementTerminator13-Jun-13 6:40 
GeneralRe: Bug of the day Pin
Fabio Franco13-Jun-13 4:54
memberFabio Franco13-Jun-13 4:54 
GeneralRe: Bug of the day Pin
MainFrameMan_ALIVE_AND_WELL$$13-Jun-13 5:32
memberMainFrameMan_ALIVE_AND_WELL$$13-Jun-13 5:32 
GeneralRe: Bug of the day Pin
RafagaX13-Jun-13 6:31
memberRafagaX13-Jun-13 6:31 
GeneralRe: Bug of the day Pin
Adam David Hill14-Jun-13 6:26
memberAdam David Hill14-Jun-13 6:26 
GeneralRe: Bug of the day Pin
Marc Clifton18-Jun-13 6:32
protectorMarc Clifton18-Jun-13 6:32 
GeneralProductivity Wars Pin
jim lahey7-Jun-13 5:42
memberjim lahey7-Jun-13 5:42 
There may be trouble ahead!

There's a constant debate at our place about the use of third party libraries. Half our lot refuse to use them, preferring to write absolutely everything themselves.

It's no coincidence that the developers who use third party stuff get their tasks done quicker and with less bugs opened from said tasks. I'd call this good productivity.

The current Not Invented Here debate is based around expression parsing. We want to be able to interpret expressions defined in Xml files in place of static attribute values, DateTime.Now.ToString("format of some sort") is a great example of what we need to be able to do.

Earlier in the week I introduced Flee - Fast Lightweight Expression Evaluator[^] to members of the team, upon which reasons were being invented not to use it.

Autonomously I've knocked up a working example that covers all the requirements we've specified in about an hour using Flee. Our planning indicates that we've put aside 5 days for writing an expression engine from scratch. Now I can guarantee that in 5 days I'd be able to write something that can evaluate simple static property and method calls, but very little else. In 1/40th of the time using a third party library I've done the job as far as I'm concerned and we've got a component that can do a hell of a lot more to boot. Not only that, but it's been peer reviewed on CodePlex and on here with almost entirely 5 star ratings and nearly 15,000 downloads on CodePlex. It's LGPL licensed and as we're not modifying it and it's already freely available, we won't have a problem redistributing it.

If they're not watertight reasons for using a third party component instead of rolling your own then I don't know what are.

Now I'm totally biased when it comes to how I develop. I 'll use any third party library that I feel can help me get my job done quicker so I can concentrate on quality and I absolutely detest reinventing the wheel, which makes it very difficult for me to see peoples' points of view when they object and claim writing everything from scratch is somehow better.

What objections do you have to using third party stuff?
GeneralRe: Productivity Wars Pin
BobJanova7-Jun-13 5:57
memberBobJanova7-Jun-13 5:57 
GeneralRe: Productivity Wars Pin
jim lahey7-Jun-13 6:04
memberjim lahey7-Jun-13 6:04 
GeneralRe: Productivity Wars Pin
R. Erasmus11-Jun-13 4:28
memberR. Erasmus11-Jun-13 4:28 
GeneralRe: Productivity Wars Pin
jesarg7-Jun-13 7:14
memberjesarg7-Jun-13 7:14 
GeneralRe: Productivity Wars Pin
Chris Maunder7-Jun-13 15:57
adminChris Maunder7-Jun-13 15:57 
GeneralRe: Productivity Wars Pin
AspDotNetDev7-Jun-13 16:18
protectorAspDotNetDev7-Jun-13 16:18 
GeneralRe: Productivity Wars Pin
V.9-Jun-13 23:22
professionalV.9-Jun-13 23:22 
GeneralRe: Productivity Wars Pin
harold aptroot10-Jun-13 4:19
memberharold aptroot10-Jun-13 4:19 
GeneralRe: Productivity Wars Pin
YvesDaoust10-Jun-13 21:47
memberYvesDaoust10-Jun-13 21:47 
GeneralRe: Productivity Wars Pin
Fran Porretto11-Jun-13 2:00
memberFran Porretto11-Jun-13 2:00 
GeneralRe: Productivity Wars Pin
vonb11-Jun-13 2:40
membervonb11-Jun-13 2:40 
GeneralRe: Productivity Wars Pin
Dominic Amann11-Jun-13 3:52
memberDominic Amann11-Jun-13 3:52 
GeneralRe: Productivity Wars Pin
jim lahey11-Jun-13 7:00
memberjim lahey11-Jun-13 7:00 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 5:08
memberStatementTerminator11-Jun-13 5:08 
GeneralRe: Productivity Wars Pin
BrainiacV11-Jun-13 5:40
memberBrainiacV11-Jun-13 5:40 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 6:00
memberStatementTerminator11-Jun-13 6:00 
GeneralRe: Productivity Wars Pin
jnlt11-Jun-13 7:10
memberjnlt11-Jun-13 7:10 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 23 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid