Click here to Skip to main content
15,891,919 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: code performance idea in team environment Pin
BillWoodruff17-Jan-17 14:47
professionalBillWoodruff17-Jan-17 14:47 
AnswerRe: code performance idea in team environment Pin
Super Lloyd17-Jan-17 14:55
Super Lloyd17-Jan-17 14:55 
GeneralRe: code performance idea in team environment Pin
_groo_18-Jan-17 1:44
_groo_18-Jan-17 1:44 
GeneralRe: code performance idea in team environment Pin
Super Lloyd18-Jan-17 3:23
Super Lloyd18-Jan-17 3:23 
GeneralRe: code performance idea in team environment Pin
Brisingr Aerowing17-Jan-17 15:11
professionalBrisingr Aerowing17-Jan-17 15:11 
GeneralRe: code performance idea in team environment Pin
Super Lloyd17-Jan-17 15:15
Super Lloyd17-Jan-17 15:15 
GeneralRe: code performance idea in team environment Pin
Sander Rossel17-Jan-17 21:45
professionalSander Rossel17-Jan-17 21:45 
GeneralRe: code performance idea in team environment Pin
Super Lloyd17-Jan-17 22:43
Super Lloyd17-Jan-17 22:43 
First the aesthetics aspect.
Apparently you would prefer some kind of (so called) aspect oriented programming over a simple using statement, why not, whatever rocks your boat man!
On a "where to put your effort kind of things" aspect is a well known .NET programming technique since at least 2003 (see Aspect-Oriented Programming ) which has failed to garner much of any success or enthusiasm since then... As far as I am concerned it is not even worth wasting time trying to use.
I understand your preferences are different, maybe use GitHub - Fody , seem to be easy to put into practice...

As for the rest why would you pass a callback in the constructor? I am curious as to what were you thinking?
For the record here is the implementation I am currently using:
The Lounge

Finally all those "tests" (more like debug time code break) are only meant to valid that your code is performant, as you can see on my implementation, whether it runs slow or not on production has little to no effect and is, in theory, completely irrelevant.
The idea is to attract and awake the developer attention, much like an exception would.
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: code performance idea in team environment Pin
Sander Rossel17-Jan-17 22:59
professionalSander Rossel17-Jan-17 22:59 
GeneralRe: code performance idea in team environment Pin
Super Lloyd17-Jan-17 23:27
Super Lloyd17-Jan-17 23:27 
GeneralRe: code performance idea in team environment Pin
Super Lloyd17-Jan-17 23:30
Super Lloyd17-Jan-17 23:30 
GeneralRe: code performance idea in team environment Pin
den2k8817-Jan-17 23:54
professionalden2k8817-Jan-17 23:54 
GeneralRe: code performance idea in team environment Pin
Super Lloyd18-Jan-17 3:25
Super Lloyd18-Jan-17 3:25 
GeneralRe: code performance idea in team environment Pin
BillWoodruff18-Jan-17 5:09
professionalBillWoodruff18-Jan-17 5:09 
GeneralRe: code performance idea in team environment Pin
Sander Rossel18-Jan-17 5:15
professionalSander Rossel18-Jan-17 5:15 
GeneralRe: code performance idea in team environment Pin
patbob18-Jan-17 4:49
patbob18-Jan-17 4:49 
NewsFired IT worker wants $200K to release former employer's changed password Pin
Cornelius Henning17-Jan-17 10:05
professionalCornelius Henning17-Jan-17 10:05 
GeneralRe: Fired IT worker wants $200K to release former employer's changed password Pin
Jon McKee17-Jan-17 10:16
professionalJon McKee17-Jan-17 10:16 
GeneralRe: Fired IT worker wants $200K to release former employer's changed password Pin
Cornelius Henning17-Jan-17 10:26
professionalCornelius Henning17-Jan-17 10:26 
GeneralI nearly fell for one of these Pin
Cornelius Henning17-Jan-17 7:30
professionalCornelius Henning17-Jan-17 7:30 
GeneralRe: I neatly fell for one of these Pin
Eddy Vluggen17-Jan-17 7:37
professionalEddy Vluggen17-Jan-17 7:37 
GeneralRe: I neatly fell for one of these Pin
TheGreatAndPowerfulOz17-Jan-17 7:44
TheGreatAndPowerfulOz17-Jan-17 7:44 
GeneralRe: I neatly fell for one of these Pin
Eddy Vluggen17-Jan-17 8:00
professionalEddy Vluggen17-Jan-17 8:00 
GeneralRe: I neatly fell for one of these Pin
Fabio Franco18-Jan-17 0:05
professionalFabio Franco18-Jan-17 0:05 
GeneralRe: I neatly fell for one of these Pin
raddevus17-Jan-17 7:50
mvaraddevus17-Jan-17 7:50 

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.