<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/02/2015 03:38 PM, R P Herrold
wrote:<br>
</div>
<blockquote
cite="mid:alpine.LRH.2.03.1506021537130.1740@bjyevire.pbz"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap=""><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.safetyresearch.net/blog/articles/toyota-unintended-acceleration-and-big-bowl-%E2%80%9Cspaghetti%E2%80%9D-code">http://www.safetyresearch.net/blog/articles/toyota-unintended-acceleration-and-big-bowl-%E2%80%9Cspaghetti%E2%80%9D-code</a>
Toyota had more than 10,000 global variables.</pre>
</div>
</blockquote>
<br>
There was a discussion on LinkedIn about the (lack of) code quality
in embedded systems. The thread was started by a guy outside of
Cleveland who owns a firmware company. <br>
<br>
<blockquote
cite="mid:alpine.LRH.2.03.1506021537130.1740@bjyevire.pbz"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">“And in practice, five, ten, okay, fine. 10,000, no, we're done. It is
not safe, and I don't need to see all 10,000 global variables to know
that that is a problem,” Koopman testified.
-- Russ herrold</pre>
</div>
</blockquote>
<br>
I've seen global variable abuse in commercial code. (not just
embedded) <br>
<br>
I am shocked to have encountered "go global" thinking among
professional software developers. Kind of wonder if some aspects of
object oriented design are knee jerk reaction the other way. <br>
<br>
-- R; <><<br>
<br>
<br>
<br>
</body>
</html>