04-10-2007 05:13 AM
I complitely agree. I see OOP and compoent programming and functional programming and actor based programming etc as tools to achieve goal more easily. I think they can and they should coexist. Traditional OOP literature seems to talk of OOP in very restrictive way and put too much emphais on the inheritance and "clean" OOP implementations. I think this way of thinking is too restrictive. Objects and components and all that are just tools that can be mixed and matched in various ways to achieve the modular architecture, reusability, maintainability, flexible project organizations and all the other buzz words.
Everyone should pick the approach which works best for them.
04-10-2007 05:53 AM
04-10-2007 06:48 AM
Perhaps I should still emphasize that I think it's advantageous to understand the "clean" paradigms such as object-oriented programming in order to be able to take full advantageous of the paradigms. Even that I think that these different paradigms are really not paradigms at all but just tools that can mixed and matched, I don't think one is really able to use these tools effectively without really understanding the ideology behind each programming model.
I'm sure there are benefits from a "clean" style when dealing with projects where many different people are working on the code, but for the rest of us (>95%?) it's not really worth the time and effort in the end.
04-10-2007 07:33 AM
Shane " I actually started programming this way before I even heard about "component programming". "
Well same here.
"Component Programming"
I never heard of until now!
To add to Shane mentioning that AEs work across platforms.
I have used AEs in more than one application were I needed to share a data structure between multiple nodes. This was implemented using VI Server Call by reference and opening a reference to the AE on the machine seriving same.
In one case I needed to allow an operator to throttle up a jet aircraft engine simulator that was implemented on a PXI chassis running RT. The controlling Windows side app invoked a "set" action via VI server and the RT was able to react like the two machines were the same.
In another app, the customer wanted local control of assembly lines from the loacl machine while still offering the same functionality from a master machine running in the control room. Again AE served by one machine and invoked from another.
Thank you Shane for sharing that term!
Tomi,
You words are not falling on deaf ears. Give me time.
Ben
04-10-2007 08:10 AM
Ben wrote: Tomi, You words are not falling on deaf ears. Give me time.
04-11-2007 02:12 AM
04-11-2007 04:16 AM
04-11-2007 08:00 AM
Since nobody offered a self-inititalizing AE and since Kevin found an excuse
I posted an example in this thread.
Combine this idea with VI Server and you can implement cross platform queues!
Benn
04-12-2007 12:47 PM
In this thread I posted an example of re-configurable Look-up table as an AE.
Ben
04-12-2007 12:56 PM