Denver - ALARM

cancel
Showing results for 
Search instead for 
Did you mean: 

Presentation on OOP Decorators

Here's my presentation OOP Decorators

—Ben
Prevent your computer from sleeping programmatically!
Use Power Requests
Download from GitHub

0 Kudos
Message 1 of 4
(1,344 Views)

The best resource on the various GOF patterns for non-CS majors (ie most of us) is here: https://refactoring.guru/design-patterns There's a bunch of web stuff there and there is also an e-book. It doesn't come with LabVIEW Examples but does come with examples in 7 other languages including Python. 

 

Speaking of examples of GOF in LabVIEW.

Here is what Tom and I put together.

https://gitlab.com/gof-in-labview

There is a decorator example there along with some others.

 

Not to steal Ben's thunder, but Tom and I did a presentation at GLA Summit one year. We covered Decorator and a few other patterns. Sometimes hearing multiple different explanations and examples helps so if you really want to figure out, this will be helpful.

https://www.youtube.com/watch?v=IM8ZU1af6wQ

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
0 Kudos
Message 2 of 4
(1,335 Views)

I should add Bill Welch also helped us on the GOF stuff.

 

And also that refactoring.guru site also has a lot of info on refactoring as well including a course (I bought it, but haven't went through it yet). I believe most of it is based off of Fowler's book.

 

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
0 Kudos
Message 3 of 4
(1,329 Views)

Another good resource for OOP design patterns is this post from Elijah Kerry. It has labview examples for a number of the GOF patterns. 

0 Kudos
Message 4 of 4
(1,292 Views)