04-09-2007 12:16 PM
It depends on the use case. There is no one single answer or solution to this question. FG and AE are just means to achieve something. The actual use case defines how they can or should be used. In object-oriented programming there is a concept called design patterns. Design patterns are standard ways to solving problems of particular types. Even if the same programming technique are used in two design patterns the patterns are distinct if the underlying problem to solve is different. I think functional globals and action engines are there programming techniques. There is not standard way to use techniques pre se. There may be or rather may evolve standard ways to use action engines and functional globals to solve object-oriented programming problems of particular types. But then the technique to be used should be selected based on the problem to be solved. In some problems an entire class can be wrapped around an action engine. In some other problems action engines can be used just like you are using them now. Everything is possible and the problem to solve should determine the solution to use. What I'm trying to say that there are many ways to use each technique and there are no right or wrong ways just different ways that suit to different problems.
@jarrod S. wrote:
It seems to me the entire FG would constitute a class, since a class is not only stored data but the functions that operate on that data. The cluster in the USR is your private data, since it obviously can't be accessed outside the FG without accessor methods.
04-09-2007 01:52 PM - edited 04-09-2007 01:52 PM
Tomi wrote "The easiest way would be to follow my blog for some time. "
Why do I sense this reply is similar to the exchange:
----------------------------------------------------------------------------------------------------------------
Q: So what is so great about getting a tatoo?
A: That is a really hard question to answer, but if you try it you will understand.
______________________________________________________________________
I hope LVOOP is really worth the pain.
Ben
Message Edited by Ben on 04-09-2007 01:53 PM
Message Edited by Ben on 04-09-2007 01:54 PM
04-09-2007 02:02 PM
Perhaps it's just my inability to compress the required mindset to few sentences. I however think a more appropriate comparison would be the following:Why do I sense this reply is similar to the exchange:
----------------------------------------------------------------------------------------------------------------
Q: So what is so great about getting a tatoo?
A: That is a really hard question to answer, but if you try it you will understand.
___________________________________________________________________
04-09-2007 02:07 PM
I hope LVOOP is really worth the pain.
04-09-2007 03:16 PM
Ben,
Nice one! Thanks for taking the time to put this together. For some dumb reason I never considered the sub-vi part.
This almost makes up for the "disregard".
04-09-2007 05:49 PM
04-09-2007 07:20 PM
I guess the desingnation "Action Engine" will stick around as an official term. We should formulate a simple glossary entry that describes the core concept in as few words as possible.
Hey, now even you icon makes sense! 😄 (Fortunately a teddy is not a grizzly.) 😮
@Ben wrote:
"Sometimes you get the bear and sometimes the bear gets you."
04-10-2007 04:20 AM
04-10-2007 04:28 AM
OOP and component programming can coexist and even often do coexist. Indeed OOP provides a way to implements components in a clean way.
All typical characteristics of component programming.
Personally, I tend much more towards component programming than to object-oriented programming.
04-10-2007 04:50 AM