Click here to Skip to main content
15,887,267 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.

 
GeneralLockdown fever Pin
Peter_in_27807-Apr-20 21:02
professionalPeter_in_27807-Apr-20 21:02 
GeneralCcc Pin
The pompey7-Apr-20 19:38
The pompey7-Apr-20 19:38 
GeneralUnpopular opinion PinPopular
Super Lloyd7-Apr-20 13:52
Super Lloyd7-Apr-20 13:52 
GeneralRe: Unpopular opinion Pin
PIEBALDconsult7-Apr-20 14:20
mvePIEBALDconsult7-Apr-20 14:20 
GeneralRe: Unpopular opinion Pin
Super Lloyd7-Apr-20 14:23
Super Lloyd7-Apr-20 14:23 
GeneralRe: Unpopular opinion Pin
Richard Deeming8-Apr-20 0:09
mveRichard Deeming8-Apr-20 0:09 
GeneralRe: Unpopular opinion Pin
Kirk Wood11-Apr-20 6:04
Kirk Wood11-Apr-20 6:04 
GeneralRe: Unpopular opinion Pin
Greg Utas7-Apr-20 14:43
professionalGreg Utas7-Apr-20 14:43 
I agree that interfaces shouldn't categorically be seen as a best practice. Doing something because it makes mocks easier to implement is putting the cart before the horse. And there's already enough boilerplate that obfuscates the code.

Unit testing is great for libraries: a collection of disparate things. But if you're building a system whose components all cooperate, integration testing should be paramount.

However, (pure) virtual functions are vital in object models where polymorphism and/or inheritance are important. But that's a design abstraction similar to code reuse: if it happens only once, the abstraction isn't needed! If it happens a second time, you start thinking about it. And if it happens a third time, abstraction is called for, just like finding a way to have one instance of the code that would otherwise be copy-pasted into multiple locations.

GeneralRe: Unpopular opinion Pin
Mircea Neacsu7-Apr-20 16:30
Mircea Neacsu7-Apr-20 16:30 
GeneralRe: Unpopular opinion Pin
Greg Utas8-Apr-20 1:47
professionalGreg Utas8-Apr-20 1:47 
GeneralRe: Unpopular opinion Pin
kalberts8-Apr-20 2:00
kalberts8-Apr-20 2:00 
GeneralRe: Unpopular opinion Pin
Kirk Wood11-Apr-20 5:00
Kirk Wood11-Apr-20 5:00 
GeneralRe: Unpopular opinion Pin
kalberts8-Apr-20 1:52
kalberts8-Apr-20 1:52 
GeneralRe: Unpopular opinion Pin
Gary R. Wheeler8-Apr-20 4:01
Gary R. Wheeler8-Apr-20 4:01 
GeneralRe: Unpopular opinion Pin
soulesurfer8-Apr-20 22:00
soulesurfer8-Apr-20 22:00 
GeneralRe: Unpopular opinion Pin
MadGerbil9-Apr-20 2:31
MadGerbil9-Apr-20 2:31 
GeneralRe: Unpopular opinion Pin
Matt McGuire9-Apr-20 5:18
professionalMatt McGuire9-Apr-20 5:18 
GeneralRe: Unpopular opinion Pin
raddevus9-Apr-20 9:57
mvaraddevus9-Apr-20 9:57 
GeneralRe: Unpopular opinion Pin
Dan Borden9-Apr-20 8:09
Dan Borden9-Apr-20 8:09 
GeneralRe: Unpopular opinion Pin
kalberts9-Apr-20 9:19
kalberts9-Apr-20 9:19 
GeneralRe: Unpopular opinion Pin
James Lonero10-Apr-20 12:17
James Lonero10-Apr-20 12:17 
GeneralRe: Unpopular opinion Pin
kalberts10-Apr-20 15:26
kalberts10-Apr-20 15:26 
GeneralRe: Unpopular opinion Pin
Kirk Wood11-Apr-20 5:06
Kirk Wood11-Apr-20 5:06 
GeneralYouTube ban 5G/COVID-19 conspiracy videos Pin
OriginalGriff7-Apr-20 11:30
mveOriginalGriff7-Apr-20 11:30 
GeneralRe: YouTube ban 5G/COVID-19 conspiracy videos Pin
Peter_in_27807-Apr-20 12:38
professionalPeter_in_27807-Apr-20 12:38 

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.