Click here to Skip to main content
15,900,907 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: I discovered a new Enterprise Pattern Pin
CodeWraith20-Aug-18 0:42
CodeWraith20-Aug-18 0:42 
GeneralRe: I discovered a new Enterprise Pattern Pin
Nathan Minier20-Aug-18 2:12
professionalNathan Minier20-Aug-18 2:12 
GeneralRe: I discovered a new Enterprise Pattern Pin
Super Lloyd20-Aug-18 0:48
Super Lloyd20-Aug-18 0:48 
GeneralRe: I discovered a new Enterprise Pattern Pin
MSBassSinger21-Aug-18 4:35
professionalMSBassSinger21-Aug-18 4:35 
GeneralRe: I discovered a new Enterprise Pattern Pin
OriginalGriff21-Aug-18 4:40
mveOriginalGriff21-Aug-18 4:40 
GeneralRe: I discovered a new Enterprise Pattern Pin
MSBassSinger21-Aug-18 4:44
professionalMSBassSinger21-Aug-18 4:44 
GeneralRe: I discovered a new Enterprise Pattern PinPopular
F-ES Sitecore19-Aug-18 23:58
professionalF-ES Sitecore19-Aug-18 23:58 
GeneralRe: I discovered a new Enterprise Pattern Pin
Shmoken9921-Aug-18 6:54
Shmoken9921-Aug-18 6:54 
YES! UNIT TESTS.

And Integration Tests! If it's spaghetti code to start with then it probably has some pretty heavy dependencies on other classes, too. Don't mock or stub out those other classes. It's the only way to be sure.

Once you've stepped through every line of code and you have 80% + coverage of the class YOU will be THE expert.

Refactor the code with no logical changes on one change set. No bug fixes or enhancements allowed. Add lots of comments as you figure out why some line of code was added that seems counter-intuitive! Add a unit test to cover that line so that if anyone ever changes it or inverts the logic your test will catch it.

After the refactor, knock yourself out. You are now the SME.
GeneralRe: I discovered a new Enterprise Pattern Pin
Kornfeld Eliyahu Peter20-Aug-18 0:11
professionalKornfeld Eliyahu Peter20-Aug-18 0:11 
GeneralRe: I discovered a new Enterprise Pattern Pin
Nelek20-Aug-18 0:43
protectorNelek20-Aug-18 0:43 
GeneralRe: I discovered a new Enterprise Pattern Pin
Kornfeld Eliyahu Peter20-Aug-18 1:00
professionalKornfeld Eliyahu Peter20-Aug-18 1:00 
GeneralRe: I discovered a new Enterprise Pattern Pin
RickZeeland20-Aug-18 9:15
mveRickZeeland20-Aug-18 9:15 
GeneralRe: I discovered a new Enterprise Pattern Pin
GuyThiebaut20-Aug-18 20:59
professionalGuyThiebaut20-Aug-18 20:59 
GeneralRe: I discovered a new Enterprise Pattern Pin
pmauriks20-Aug-18 21:09
pmauriks20-Aug-18 21:09 
GeneralRe: I discovered a new Enterprise Pattern Pin
Dan Neely21-Aug-18 2:54
Dan Neely21-Aug-18 2:54 
GeneralHow to make your bathtub more fun Pin
CodeWraith19-Aug-18 22:31
CodeWraith19-Aug-18 22:31 
GeneralRe: How to make your bathtub more fun Pin
Johnny J.19-Aug-18 22:56
professionalJohnny J.19-Aug-18 22:56 
GeneralRe: How to make your bathtub more fun Pin
CodeWraith19-Aug-18 23:14
CodeWraith19-Aug-18 23:14 
GeneralRe: How to make your bathtub more fun Pin
W Balboos, GHB20-Aug-18 0:35
W Balboos, GHB20-Aug-18 0:35 
GeneralWSO CCC OTD 2018-08-20 I win! So I'm up tomorrow. Pin
OriginalGriff19-Aug-18 22:03
mveOriginalGriff19-Aug-18 22:03 
QuestionRe: WSO CCC OTD 2018-08-20 Pin
megaadam19-Aug-18 22:11
professionalmegaadam19-Aug-18 22:11 
AnswerRe: WSO CCC OTD 2018-08-20 Pin
OriginalGriff19-Aug-18 22:12
mveOriginalGriff19-Aug-18 22:12 
GeneralRe: WSO CCC OTD 2018-08-20 Pin
megaadam19-Aug-18 22:13
professionalmegaadam19-Aug-18 22:13 
GeneralRe: WSO CCC OTD 2018-08-20 Pin
pkfox19-Aug-18 23:39
professionalpkfox19-Aug-18 23:39 
GeneralRe: WSO CCC OTD 2018-08-20 Pin
OriginalGriff19-Aug-18 23:40
mveOriginalGriff19-Aug-18 23:40 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   495 votes