Re:Toyotas Unintended Acceleration and the Big Bowl of “Spag...
by jfoutz on Tuesday June 02, 2015 @12:19AM
(#9643826)
Check engine light? Passenger without a seatbelt?
I mean, it's an embedded system, resources are scarce. There are more elegant solutions, yes. But a pattern of setting an error condition from a bunch of different sensors, that's checked from a bunch of locations seems reasonable. At least, not insane.
Re:Toyotas Unintended Acceleration and the Big Bowl of “Spag...
by icelancer on Tuesday June 02, 2015 @12:28AM
(#9643864)
He's not sanctioning 5-10 globals, only saying he could deal with that number of them without freaking out. Which is certainly true.
Re:Toyotas Unintended Acceleration and the Big Bowl of “Spag...
by ericye16 on Tuesday June 02, 2015 @12:20AM
(#9643835)
For simple configurations that have global affects, global variables might be easier than some other methods of keeping track of settings. It's a bit more frequent in embedded software than other software though.
I wonder why people want to believe 5 or 10 are okay.