Click here to Skip to main content
15,903,719 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 don't know why I hate statics so much Pin
Gerry Schmitz11-Dec-21 6:37
mveGerry Schmitz11-Dec-21 6:37 
GeneralRe: I don't know why I hate statics so much Pin
Gary R. Wheeler11-Dec-21 10:23
Gary R. Wheeler11-Dec-21 10:23 
GeneralRe: I don't know why I hate statics so much Pin
honey the codewitch11-Dec-21 10:27
mvahoney the codewitch11-Dec-21 10:27 
GeneralRe: I don't know why I hate statics so much Pin
honey the codewitch12-Dec-21 4:51
mvahoney the codewitch12-Dec-21 4:51 
GeneralRe: I don't know why I hate statics so much Pin
Super Lloyd11-Dec-21 17:22
Super Lloyd11-Dec-21 17:22 
GeneralRe: I don't know why I hate statics so much Pin
honey the codewitch12-Dec-21 4:48
mvahoney the codewitch12-Dec-21 4:48 
GeneralRe: I don't know why I hate statics so much Pin
Super Lloyd12-Dec-21 5:58
Super Lloyd12-Dec-21 5:58 
GeneralRe: I don't know why I hate statics so much Pin
honey the codewitch12-Dec-21 6:02
mvahoney the codewitch12-Dec-21 6:02 
Super Lloyd wrote:
hand in hand with unit testing with mocks. Another thing I dislike, though I would sometimes concede them the title of necessary evil.


Yet another opinion we share. I don't do unit testing unless I have to. For my non-commercial code, I don't really write that much in the way of tests until I have to. I know that's evil of me, but there it is. I figure I'm just challenging myself to write more stable code the first time. Yeah, that's it. *whistles*

I can wrap the static methods with a class that just delegates to them, which is what I was referring to when I said "ersatz 'singleton'" - I just don't like it. I prefer the statics, but even that I don't like.
Real programmers use butterflies

GeneralRe: I don't know why I hate statics so much Pin
11917640 Member 11-Dec-21 19:39
11917640 Member 11-Dec-21 19:39 
GeneralRe: I don't know why I hate statics so much Pin
PIEBALDconsult12-Dec-21 4:19
mvePIEBALDconsult12-Dec-21 4:19 
GeneralRe: I don't know why I hate statics so much Pin
honey the codewitch12-Dec-21 4:48
mvahoney the codewitch12-Dec-21 4:48 
GeneralHave you ever wondered what the words to "Non Je Ne Regrette Rien" actually mean? Pin
OriginalGriff11-Dec-21 1:43
mveOriginalGriff11-Dec-21 1:43 
GeneralRe: Have you ever wondered what the words to "Non Je Ne Regrette Rien" actually mean? Pin
RickZeeland11-Dec-21 2:06
mveRickZeeland11-Dec-21 2:06 
GeneralRe: Have you ever wondered what the words to "Non Je Ne Regrette Rien" actually mean? Pin
Super Lloyd11-Dec-21 17:22
Super Lloyd11-Dec-21 17:22 
GeneralRe: Have you ever wondered what the words to "Non Je Ne Regrette Rien" actually mean? Pin
Daniel Pfeffer12-Dec-21 1:19
professionalDaniel Pfeffer12-Dec-21 1:19 
JokeThings to think about PinPopular
Mike Hankey10-Dec-21 23:11
mveMike Hankey10-Dec-21 23:11 
GeneralRe: Things to think about Pin
Chris C-B10-Dec-21 23:51
Chris C-B10-Dec-21 23:51 
GeneralRe: Things to think about Pin
Eddy Vluggen11-Dec-21 2:10
professionalEddy Vluggen11-Dec-21 2:10 
GeneralRe: Things to think about Pin
Richard MacCutchan11-Dec-21 2:22
mveRichard MacCutchan11-Dec-21 2:22 
GeneralRe: Things to think about Pin
Eddy Vluggen11-Dec-21 2:34
professionalEddy Vluggen11-Dec-21 2:34 
GeneralRe: Things to think about Pin
peterkmx11-Dec-21 7:03
professionalpeterkmx11-Dec-21 7:03 
GeneralBob the Builder - Can We Fix It? Pin
OriginalGriff10-Dec-21 23:01
mveOriginalGriff10-Dec-21 23:01 
GeneralRe: Bob the Builder - Can We Fix It? Pin
Randor 10-Dec-21 23:47
professional Randor 10-Dec-21 23:47 
GeneralRe: Bob the Builder - Can We Fix It? Pin
honey the codewitch11-Dec-21 0:39
mvahoney the codewitch11-Dec-21 0:39 
GeneralRe: Bob the Builder - Can We Fix It? Pin
PIEBALDconsult11-Dec-21 4:45
mvePIEBALDconsult11-Dec-21 4:45 

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.