Bay Area LabVIEW User Group

cancel
Showing results for 
Search instead for 
Did you mean: 

NIWeek 2019 Presentation: Traits - A New Approach to Designing Reusable Code

 

I gave this presentation at NIWeek 2019. Not sure when & where it would be available for download. I am uploading it to BALUG Discussion Forum for your convenience …

 

Abstract

Reusing properly engineered code saves time and money. OOP is currently the primary vehicle for driving Code Reuse. LabVIEW OOP is based on Single Inheritance. It does not provide support for Interfaces or more recent code reuse mechanisms, such as Mixins or Traits.

 

Presentation reviews different code reuse techniques, issues limiting reusable code design with Multiple Inheritance and Java/C# Interfaces and describes ways to work around lack of Interfaces in G.

 

It concludes with an introduction to Traits (a new concept of fine-grained reusable code units), a proposal for implementing Traits in LabVIEW and examples showing how to use Traits for designing reusable code.

 

PowerPoint 2016 file has a fair amount of animations and is best viewed in Slide Show mode. It also has a substantial amount of Presenter Notes that are essential for better understanding the presentation.

 

PDF file includes Presenter Notes (but no animations). To see notes either hover over an icon in the top left corner of a page (containing Notes) or right-click the icon and select “Open All Pop-ups” option.  Diagrams & images on slides with animations are stacked and may obscure images farther out along Z axis.

 

Enjoy,

Dmitry

 

Message 1 of 1
(3,178 Views)