Jump to content

Task Bundles

Recommended Posts

QUOTE (EJW @ Apr 14 2008, 10:33 AM)

hi everyone. just wondering which of the two methods of unbundling tasks in my example code is more appropriate to use. if you could take a look and let me know i'd appreciate it.

Personal opinion: I try and keep everything inside case structures as small as possible, and with minimal changes in data. Ask these questions: How long does it take to fully comprehend what is going on in the top case structure? Now how long does it take for the bottom? Also, what is the possibility of miswires in the top structure as opposed to the bottom? Like noticing that say, the "DOT BOT ACCEPT" and "DOT BOT FAULT" might be swapped?

Link to comment

The only reason I voted for method #3 is that I liked Method #1 as well... but didn't like the way that one of the clusters was being coerced ("DO TOP"/"DO BOT"). Notice that whatever cluster you wire into the case first is the one chosen as the data type that the second one is coerced to.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.