View Single Post
Old 01-28-2016, 06:14 PM   #27063
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Katsunami View Post
That could be true; I don't know. What I do know is that I often write very simple code to get a machine to do something:

{whole bunch of cool stuff here snipped for space}

Something like that takes me about a day or two days to write, and it works perfectly every time (if the machine itself is OK).

Then I spend 2 months writing all the error handling. What if the box isn't picked up correctly? What if there is no box to pick up? What if the track doesn't move? What if the pusher fails or jams? What if someone stops the machine mid-movement? What if the lid gets put on askew (your pallet will be wacky and unstable)? What if the machine making the pallets is not ready? And so on....

And all of that has to be remedied by two things: An error message, and a button called "Reset" which needs to fix the problem without messing with the rest of the machine.

Writing the actual process is mostly easy. Writing the error handling of all the five million things that can go wrong, and do it in such a way that the entire process doesn't need to be restarted, can be *** hard.
Uhhunh. Seems like telling a machine to do X, if X is a single operation, is no problem. Even X+Y, as long as it's logical. But, lo! Look what happens when it has to sort through various possibilities for X going wrong...and then, you involve humans. So, one compused (confused computer) and one human. Hell, you might write a million lines just to deal with that!

Hitch (who is often compused).
Hitch is offline   Reply With Quote