User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
I want to suggest implementing multiple inheritance.
I find that I regularly want to use building blocks in my applications.
An example from my project: I need a serial device class and an analog device class. I have a power supply class and a flow controller class. Now if I have a "serial flow controller" or a "analog flow controller" I could have a Flow Controller base class and use serial or analog children. Or I could say I have a Serial base class and Power Supply and Flow Controller children. Either way I end up duplicating one set of code, specifically any configuration type settings via data accessors.
I believe multiple inheritance would fix this.
Phoenix, LLC
CLA, LabVIEW Champion
Check Out the Software Engineering Processes, Architecture, and Design track at NIWeek. 2018 I guarantee you will learn things you can use daily! I will be presenting!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.