Click here to Skip to main content
15,917,808 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Best Java dashboard library with React JS Pin
jschell18-May-23 6:00
jschell18-May-23 6:00 
QuestionApp Update Framework Pin
Kevin Marois14-Mar-23 6:37
professionalKevin Marois14-Mar-23 6:37 
AnswerRe: App Update Framework Pin
jschell17-Apr-23 6:00
jschell17-Apr-23 6:00 
AnswerRe: App Update Framework Pin
Mycroft Holmes17-Apr-23 12:41
professionalMycroft Holmes17-Apr-23 12:41 
QuestionProject - develop a classified ads website Pin
Charlotte Dunand14-Mar-23 1:15
Charlotte Dunand14-Mar-23 1:15 
AnswerRe: Project - develop a classified ads website Pin
jschell16-Mar-23 11:10
jschell16-Mar-23 11:10 
QuestionHow do you like them PIMPLs Pin
Mircea Neacsu5-Mar-23 15:36
Mircea Neacsu5-Mar-23 15:36 
AnswerRe: How do you like them PIMPLs Pin
jschell16-Mar-23 11:20
jschell16-Mar-23 11:20 
Mircea Neacsu wrote:
when working with a dynamic link library as it helps maintain a stable ABI


Not the only use case but that statement sounds like protectionism intended to defeat other programmers. So basically not trusting them. So not something that I engage in.

Mircea Neacsu wrote:
in a static link library


Presuming C++ the library type has nothing to do with it.

Over time and hopefully rarely one comes up with a case where there is a 'lot' of information that is needed to fully declare the functionality that a class needs. The normal idiom for doing this is to put it all in the include file. Even though there is no need for the user of the class to be exposed to all of that.

So one moves most of that extra information either into the class file itself or even uses a secondary include file (if one finds it emotionally difficult to put it in the class file) which is only included in the class file.

Using an actual redirect is not required. It is fluff. And probably only hurts to make maintenance more complicated. A void pointer works as well and then using it is just a cast which has no runtime impact.

And if performance is a problem with the redirect, as in an actual measurable impact rather than something that is hypothetical and unrealistic, then seems likely to me that there is something wrong with the design that lead to the class in the first place.
GeneralRe: How do you like them PIMPLs Pin
Mircea Neacsu16-Mar-23 15:05
Mircea Neacsu16-Mar-23 15:05 
GeneralRe: How do you like them PIMPLs Pin
jschell20-Mar-23 6:25
jschell20-Mar-23 6:25 
QuestionDTO to UI, or not? Pin
Single Step Debugger3-Feb-23 7:58
Single Step Debugger3-Feb-23 7:58 
AnswerRe: DTO to UI, or not? Pin
Gerry Schmitz3-Feb-23 8:18
mveGerry Schmitz3-Feb-23 8:18 
GeneralRe: DTO to UI, or not? Pin
Single Step Debugger3-Feb-23 8:57
Single Step Debugger3-Feb-23 8:57 
AnswerRe: DTO to UI, or not? Pin
Dave Kreskowiak3-Feb-23 11:39
mveDave Kreskowiak3-Feb-23 11:39 
GeneralRe: DTO to UI, or not? Pin
Single Step Debugger6-Feb-23 5:38
Single Step Debugger6-Feb-23 5:38 
AnswerRe: DTO to UI, or not? Pin
jschell6-Feb-23 6:20
jschell6-Feb-23 6:20 
QuestionMultiple classes calling another same classs Pin
Member 1402131327-Jan-23 9:15
Member 1402131327-Jan-23 9:15 
AnswerRe: Multiple classes calling another same classs Pin
Gerry Schmitz27-Jan-23 11:31
mveGerry Schmitz27-Jan-23 11:31 
AnswerRe: Multiple classes calling another same classs Pin
jschell29-Jan-23 11:05
jschell29-Jan-23 11:05 
QuestionDebate reactive programming with me! Pin
Mike Nakis18-Jan-23 3:08
Mike Nakis18-Jan-23 3:08 
AnswerRe: Debate reactive programming with me! Pin
Mircea Neacsu18-Jan-23 3:58
Mircea Neacsu18-Jan-23 3:58 
AnswerRe: Debate reactive programming with me! Pin
Richard MacCutchan18-Jan-23 4:41
mveRichard MacCutchan18-Jan-23 4:41 
AnswerRe: Debate reactive programming with me! Pin
Gerry Schmitz18-Jan-23 5:16
mveGerry Schmitz18-Jan-23 5:16 
AnswerRe: Debate reactive programming with me! Pin
jschell22-Jan-23 8:50
jschell22-Jan-23 8:50 
AnswerRe: Debate reactive programming with me! Pin
jochance7-Mar-23 9:38
jochance7-Mar-23 9: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.