Click here to Skip to main content
15,887,350 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: Do containers mark the beginning of the end for VMS and possibly C# and Java ? Pin
Mark Smeltzer9-Apr-20 9:04
Mark Smeltzer9-Apr-20 9:04 
GeneralRe: Do containers mark the beginning of the end for VMS and possibly C# and Java ? Pin
Andrew Torrance10-Apr-20 1:13
Andrew Torrance10-Apr-20 1:13 
GeneralRe: Do containers mark the beginning of the end for VMS and possibly C# and Java ? Pin
Member 28960209-Apr-20 19:44
Member 28960209-Apr-20 19:44 
GeneralRe: Do containers mark the beginning of the end for VMS and possibly C# and Java ? Pin
Andrew Torrance10-Apr-20 0:28
Andrew Torrance10-Apr-20 0:28 
GeneralRe: Do containers mark the beginning of the end for VMS and possibly C# and Java ? Pin
Kirk Wood11-Apr-20 4:54
Kirk Wood11-Apr-20 4:54 
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 
In one of the gaming forum that I frequent, they like to post so called "unpopular opinion" thread, and then proceed to say something everybody agrees on... Poke tongue | ;-P

Anyway, while idly driving to work this morning I got stuck by an idea and I am going to try my own take on the unpopular opinion meme. See whether I am also, mistakenly, posting what is in fact a popular opinion! ^_^

So.. here I go.

Short story:
From a C# dev to another C# dev. I hate interfaces.

Long story:
ok, ok, sorry, I got nothing against interface in principle. They could be quite useful Smile | :) . It's just that in practice I have seen so many projects with zillion of interfaces with zillion of methods which are only implemented once. Worst, sometimes some of those methods implementation can be derived on the other method and if one would implement the interface twice there would be a lot of copy paste :/

But what really take the cake and I unambiguously despise is the argument that it helps "testability" (using mocks! ho god, mocks, I hate thee so).
From what I have seen those people are stickler for "unit test" (as opposed to "integration test") which basically only test the mock that you spend hours writing and make refactoring difficult, but don't really test the application... And it is often white box testing (I know it's implemented this way, that's why I write that test) which contribute to making refactoring a pain.
This is worst than waste of time. It also make future developer also waste time.
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 7-Apr-20 20:24pm.

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 
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 

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.