Click here to Skip to main content
13,191,877 members (51,797 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
StatementTerminator13-Jun-13 5:40
memberStatementTerminator13-Jun-13 5:40 
GeneralRe: Bug of the day Pin
Fabio Franco13-Jun-13 3:54
memberFabio Franco13-Jun-13 3:54 
GeneralRe: Bug of the day Pin
MainFrameMan_ALIVE_AND_WELL$$13-Jun-13 4:32
memberMainFrameMan_ALIVE_AND_WELL$$13-Jun-13 4:32 
GeneralRe: Bug of the day Pin
RafagaX13-Jun-13 5:31
memberRafagaX13-Jun-13 5:31 
GeneralRe: Bug of the day Pin
Adam David Hill14-Jun-13 5:26
memberAdam David Hill14-Jun-13 5:26 
GeneralRe: Bug of the day Pin
Marc Clifton18-Jun-13 5:32
protectorMarc Clifton18-Jun-13 5:32 
GeneralProductivity Wars Pin
jim lahey7-Jun-13 4:42
memberjim lahey7-Jun-13 4:42 
GeneralRe: Productivity Wars Pin
BobJanova7-Jun-13 4:57
memberBobJanova7-Jun-13 4:57 
My issue with libraries is that they often do something that's nearly but not quite what you want, and you end up changing what you want to fit the library, which is backwards. This is particularly true with more complex frameworks like Hibernate, Spring etc. A good example from my personal experience is lambdaj[^], a fluent query library in Java. It looks great, until you realise that it uses dynamic proxies so you can't use it on a list of strings, it loads everything into memory so you can't use it on external data sets, and to work around those two things is more effort than writing the subset of query functionality that you need.

On a project level, it also means that anyone new to the team has to learn a new library, whereas presumably they are familiar with the standard library (java.*, System.* etc) which a home-rolled version will use.

If it really, actually, does do the thing that you want, then fair enough. But it's surprising how often you find that a little way down the road you have nasty wrinkles in your code where it butts up against the library, because that third party tool doesn't actually do things the way you want to do them.
GeneralRe: Productivity Wars Pin
jim lahey7-Jun-13 5:04
memberjim lahey7-Jun-13 5:04 
GeneralRe: Productivity Wars Pin
R. Erasmus11-Jun-13 3:28
memberR. Erasmus11-Jun-13 3:28 
GeneralRe: Productivity Wars Pin
jesarg7-Jun-13 6:14
memberjesarg7-Jun-13 6:14 
GeneralRe: Productivity Wars Pin
Chris Maunder7-Jun-13 14:57
adminChris 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
memberharold aptroot10-Jun-13 3:19 
GeneralRe: Productivity Wars Pin
YvesDaoust10-Jun-13 20:47
memberYvesDaoust10-Jun-13 20:47 
GeneralRe: Productivity Wars Pin
Fran Porretto11-Jun-13 1:00
memberFran Porretto11-Jun-13 1:00 
GeneralRe: Productivity Wars Pin
vonb11-Jun-13 1:40
membervonb11-Jun-13 1:40 
GeneralRe: Productivity Wars Pin
Dominic Amann11-Jun-13 2:52
memberDominic Amann11-Jun-13 2:52 
GeneralRe: Productivity Wars Pin
jim lahey11-Jun-13 6:00
memberjim lahey11-Jun-13 6:00 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 4:08
memberStatementTerminator11-Jun-13 4:08 
GeneralRe: Productivity Wars Pin
BrainiacV11-Jun-13 4:40
memberBrainiacV11-Jun-13 4:40 
GeneralRe: Productivity Wars Pin
StatementTerminator11-Jun-13 5:00
memberStatementTerminator11-Jun-13 5:00 
GeneralRe: Productivity Wars Pin
jnlt11-Jun-13 6:10
memberjnlt11-Jun-13 6:10 
GeneralRe: Productivity Wars Pin
CarlosAlbertoEstrada11-Jun-13 6:11
memberCarlosAlbertoEstrada11-Jun-13 6:11 

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 |
Web03 | 2.8.171017.2 | Last Updated 18 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid