Click here to Skip to main content
15,892,005 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: APOD Pin
TheGreatAndPowerfulOz15-Dec-16 6:59
TheGreatAndPowerfulOz15-Dec-16 6:59 
JokeSJOTD Pin
Mike Hankey15-Dec-16 3:00
mveMike Hankey15-Dec-16 3:00 
AnswerRe: SJOTD Pin
megaadam15-Dec-16 3:10
professionalmegaadam15-Dec-16 3:10 
GeneralRe: SJOTD Pin
Richard Deeming15-Dec-16 4:28
mveRichard Deeming15-Dec-16 4:28 
GeneralRe: SJOTD Pin
Chris Quinn15-Dec-16 5:06
Chris Quinn15-Dec-16 5:06 
GeneralRe: SJOTD Pin
megaadam15-Dec-16 5:40
professionalmegaadam15-Dec-16 5:40 
GeneralXKCDOTD Pin
Mel Padden15-Dec-16 2:14
Mel Padden15-Dec-16 2:14 
GeneralThe Work I do for My Peers Pin
#realJSOP15-Dec-16 2:05
mve#realJSOP15-Dec-16 2:05 
I'm working on an article based on some stuff I did for work, and I had a rather unique problem to resolve.

The code (at work) uses a control from a commercial WPF control library. I went searching for a free control that did the same thing as the commercial control, and found one, but it sucked so bad that it was unusable. There's even an article about it here on CP, and believe me when I say that I'm exercising all the restraint I can muster not to leave a message for the author telling him how utterly unusable his code is.

That situation left me with nothing but commercial libraries to deal with, such as Telerik, DevExpress, ComponentOne, and others. Whether you've noticed it or not, articles posted on CP that feature/use commercial libraries are generally poorly received, because the application cannot be compiled without the correct and appropriate library assemblies being included in the project.

So, in the interest of trying to support as wide a code base as possible, I architected the article code so that adoption of the programmers chosen control library is as painless as possible.

All library-specific changes are limited to just three small files in a single assembly, and declaring a compiler directive in the assembly's Build properties, and all of the core code in the article's application can remain un-touched as a result.

I think I've restarted the code for the article more than half a dozen times, and refactored the final version twice so far, just to address these concerns. Each restart, and each refactor is the result of trying to write the article, and tripping over code I wrote that imposed seemingly arbitrary requirements that pissed me off as a developer.

100 points will not be enough for this article...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: The Work I do for My Peers Pin
Johnny J.15-Dec-16 2:14
professionalJohnny J.15-Dec-16 2:14 
GeneralRe: The Work I do for My Peers Pin
#realJSOP15-Dec-16 2:52
mve#realJSOP15-Dec-16 2:52 
GeneralRe: The Work I do for My Peers Pin
Johnny J.15-Dec-16 3:06
professionalJohnny J.15-Dec-16 3:06 
GeneralRe: The Work I do for My Peers Pin
CPallini15-Dec-16 2:46
mveCPallini15-Dec-16 2:46 
GeneralRe: The Work I do for My Peers Pin
#realJSOP15-Dec-16 2:50
mve#realJSOP15-Dec-16 2:50 
GeneralRe: The Work I do for My Peers Pin
Johnny J.15-Dec-16 3:08
professionalJohnny J.15-Dec-16 3:08 
GeneralRe: The Work I do for My Peers Pin
R. Giskard Reventlov15-Dec-16 4:40
R. Giskard Reventlov15-Dec-16 4:40 
JokeRe: The Work I do for My Peers Pin
Slacker00715-Dec-16 4:49
professionalSlacker00715-Dec-16 4:49 
GeneralRe: The Work I do for My Peers Pin
R. Giskard Reventlov15-Dec-16 4:53
R. Giskard Reventlov15-Dec-16 4:53 
GeneralRe: The Work I do for My Peers Pin
Gary Wheeler15-Dec-16 6:36
Gary Wheeler15-Dec-16 6:36 
GeneralRe: The Work I do for My Peers Pin
#realJSOP15-Dec-16 7:03
mve#realJSOP15-Dec-16 7:03 
GeneralRe: The Work I do for My Peers Pin
#realJSOP15-Dec-16 5:54
mve#realJSOP15-Dec-16 5:54 
GeneralRe: The Work I do for My Peers Pin
R. Giskard Reventlov15-Dec-16 5:56
R. Giskard Reventlov15-Dec-16 5:56 
GeneralRe: The Work I do for My Peers Pin
#realJSOP15-Dec-16 7:02
mve#realJSOP15-Dec-16 7:02 
GeneralRe: The Work I do for My Peers Pin
TheGreatAndPowerfulOz15-Dec-16 7:02
TheGreatAndPowerfulOz15-Dec-16 7:02 
GeneralRe: The Work I do for My Peers Pin
#realJSOP15-Dec-16 7:04
mve#realJSOP15-Dec-16 7:04 
GeneralRe: The Work I do for My Peers Pin
Mycroft Holmes15-Dec-16 14:14
professionalMycroft Holmes15-Dec-16 14:14 

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.