Quote:
Originally Posted by Alan Anderson
That's about the time I started putting in "defensive diagnostics" so I could easily demonstrate that the code was operating properly, and could quickly determine when undesired operation was due to disconnected wiring or misbehaving mechanisms.
|
I've done this since I started. The dashboard is invaluable for this. A custom one is especially handy, since you can display just what's needed in an understandable fashion.
I'll have to remember that term, too. "Defensive diagnostics." It's usually not a code problem, but it doesn't hurt to check.
Oh, the joke.
Code:
meal = ["spam"]*20 + ["eggs"]
(It's a Python thing. Move along.)