Click here to Skip to main content
15,887,027 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: All high-level classes must depend only on Interfaces Pin
Ravi Bhavnani24-Feb-24 8:17
professionalRavi Bhavnani24-Feb-24 8:17 
GeneralRe: All high-level classes must depend only on Interfaces Pin
Ravi Bhavnani23-Feb-24 19:02
professionalRavi Bhavnani23-Feb-24 19:02 
AnswerRe: All high-level classes must depend only on Interfaces Pin
jschell19-Feb-24 5:52
jschell19-Feb-24 5:52 
AnswerRe: All high-level classes must depend only on Interfaces Pin
englebart19-Feb-24 6:33
professionalenglebart19-Feb-24 6:33 
GeneralRe: All high-level classes must depend only on Interfaces Pin
raddevus19-Feb-24 7:59
mvaraddevus19-Feb-24 7:59 
GeneralRe: All high-level classes must depend only on Interfaces Pin
englebart19-Feb-24 8:09
professionalenglebart19-Feb-24 8:09 
GeneralRe: All high-level classes must depend only on Interfaces Pin
jschell20-Feb-24 12:14
jschell20-Feb-24 12:14 
GeneralRe: All high-level classes must depend only on Interfaces Pin
englebart20-Feb-24 15:01
professionalenglebart20-Feb-24 15:01 
A facade should be the simplest requirements needed for your code’s clients. If the library I am using has 5 classes and hundreds of methods/properties, my facade could be as simple as one class with 5 properties and 1 method. Since my facade has a hard dependency on the library, I would use an interface so that my consumers do NOT have a compile time dependency on the library.

Like I said earlier, (possibly paraphrased) if you find yourself wrapping everything 1:1, then just accept the hard dependency and ship! ship! The facade might be added later (YAGNI) as well as only if the next major update to the library has breaking changes. Without the facade I would have 70 projects to change. With the facade I have one project to change.

I do agree with the release often philosophy.

A lot of this depends on team size, pace, code stability, etc.

And maybe IDE? Creating an interface from a class or a class from an interface should not take more than a second. Right click…

Someone earlier mentioned they were stuck on VS2013. Yuck!

GeneralRe: All high-level classes must depend only on Interfaces Pin
hpcoder224-Feb-24 22:45
hpcoder224-Feb-24 22:45 
GeneralRe: All high-level classes must depend only on Interfaces Pin
raddevus25-Feb-24 10:58
mvaraddevus25-Feb-24 10:58 
AnswerRe: All high-level classes must depend only on Interfaces Pin
Ralf Peine 202322-Feb-24 5:08
Ralf Peine 202322-Feb-24 5:08 
GeneralRe: All high-level classes must depend only on Interfaces Pin
raddevus22-Feb-24 5:24
mvaraddevus22-Feb-24 5:24 
AnswerRe: All high-level classes must depend only on Interfaces Pin
Dan Sutton12-Mar-24 20:34
Dan Sutton12-Mar-24 20:34 
GeneralBut what about the government? Pin
jschell16-Feb-24 7:50
jschell16-Feb-24 7:50 
GeneralRe: But what about the government? Pin
Marc Clifton16-Feb-24 8:24
mvaMarc Clifton16-Feb-24 8:24 
GeneralRe: But what about the government? Pin
Gary R. Wheeler16-Feb-24 13:55
Gary R. Wheeler16-Feb-24 13:55 
GeneralRe: But what about the government? Pin
Andre Oosthuizen16-Feb-24 8:45
mveAndre Oosthuizen16-Feb-24 8:45 
GeneralI'm almost afraid to try it Pin
honey the codewitch16-Feb-24 7:09
mvahoney the codewitch16-Feb-24 7:09 
GeneralRe: I'm almost afraid to try it Pin
Marc Clifton16-Feb-24 7:33
mvaMarc Clifton16-Feb-24 7:33 
Generalinstaller does not work for VB application, what can I do? Pin
Southmountain16-Feb-24 6:09
Southmountain16-Feb-24 6:09 
GeneralRe: installer does not work for VB application, what can I do? Pin
k505416-Feb-24 6:18
mvek505416-Feb-24 6:18 
GeneralRe: installer does not work for VB application, what can I do? Pin
Southmountain16-Feb-24 6:22
Southmountain16-Feb-24 6:22 
GeneralRe: installer does not work for VB application, what can I do? Pin
Ron Nicholson16-Feb-24 6:30
professionalRon Nicholson16-Feb-24 6:30 
GeneralRe: installer does not work for VB application, what can I do? Pin
Southmountain16-Feb-24 6:34
Southmountain16-Feb-24 6:34 
GeneralRe: installer does not work for VB application, what can I do? Pin
Gerry Schmitz16-Feb-24 6:45
mveGerry Schmitz16-Feb-24 6: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.