Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming bind
#2
I'm not sure I understand the problem.
If foo has an object bar, then naturally whenever the public interface of bar changes, foo will need to be recompiled or possibly recoded.
To decrease the coupling you can use a virtual class vbar, which has whatever features of bar foo uses, and from which bar inherits. The public interface of vbar will hopefully not change anywhere near as often as bar's will.
Reply


Messages In This Thread
Programming bind - by Fiel - 2010-08-21, 09:00 AM
Programming bind - by Orit - 2010-08-21, 09:13 AM
Programming bind - by Nikkey - 2010-08-21, 10:03 AM
Programming bind - by Spaz - 2010-08-21, 02:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)