<div>My question is: Why repeat the error exit code again and again? If used wisely, using goto statements can reduce the in a function by a few bytes and reduce the number of points of change. Intead of having to look for all the error code scattered in a function, the error code is&nbsp;in one spot&nbsp;where you don't have to change sevel lines of code scadered throughout&nbsp;a fuction just to change the exiting behavior.&nbsp; 
<br>&nbsp;</div>
<div>&quot;Crashfourit&quot;<br>&nbsp;</div>
<div><span class="gmail_quote">On 9/28/05, <b class="gmail_sendername">Richard Campbell</b> &lt;<a href="mailto:eek2121@comcast.net">eek2121@comcast.net</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hate to throw my 2 cents in, but why use macros or goto statements at<br>all?&nbsp;&nbsp;None of the demonstrated code actually needs a goto statement to 
<br>work.&nbsp;&nbsp;Granted i've not seen the actual offensive code , but all<br>examples here can be written without goto statements or macros.&nbsp;&nbsp;Why<br>bother using either?&nbsp;&nbsp;At any rate, i'm inclined to agree that macros are<br>a bad idea.&nbsp;&nbsp;Hiding a mess behind a preprocessor is considered bad 
<br>coding practice.<br><br>Richard<br><br>Gunnar Dalsnes wrote:<br><br>&gt;<br>&gt;&gt;&gt; Yes, but how is this different from someone not<br>&gt;&gt;&gt; knowing/understanding that a finally block is called when returning 
<br>&gt;&gt;&gt; from a try block?<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; That's a compiler language feature. That's like saying that learning<br>&gt;&gt; some 3rd party macro is equivalent to what operator new does in C++. 
<br>&gt;<br>&gt;<br>&gt; The new operator is just a word as anything else. Just because its a<br>&gt; compiler feature doesnt make it &quot;magic&quot;. It just means that every C++<br>&gt; compiler should reserve and support it just like we can say ReactOS 
<br>&gt; reserve and support Xxx for usage Xxx. And you can overload new u<br>&gt; know. Then you never know what it _really_ does;-P<br>&gt;<br>&gt;&gt;<br>&gt;<br>&gt;&gt;<br>&gt;&gt; I also learnt and remember English. But I chose not to learn Zimbabwean. 
<br>&gt;<br>&gt;<br>&gt; It this context it would be &quot;Zimbabwean sound so weird I refuse to<br>&gt; learn it. Zimbabwean is flawed and ppl should stop speaking it. They<br>&gt; should learn English instead so I can understand them.&quot; 
<br>&gt;<br>&gt;&gt;<br>&gt;<br>&gt;&gt;<br>&gt;&gt; instead of having the cleanup code quadriplicated.<br>&gt;<br>&gt;<br>&gt; At least we agree on something.<br>&gt;<br>&gt; So then Im free to apply that schema thruout ros? Or will I then get: 
<br>&gt; &quot;gotos sux&quot;, &quot;please dont do this&quot;, &quot;it looks so ugly&quot;, &quot;i refuse to<br>&gt; do it this way&quot; etc?<br>&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; That's really a flawed statement. Learning and using these macros 
<br>&gt;&gt; won't change their inner deficiencies as being flow control macros.<br>&gt;<br>&gt;<br>&gt; They are just as deficient as the goto example you showed ei. equivalent.<br>&gt;<br>&gt;&gt; Learning and using them will just propagate a frowned-upon 
<br>&gt;&gt; programming practice.<br>&gt;<br>&gt;<br>&gt; Just because someone else says you should do so doesnt make it right.<br>&gt; Thinking for urself (open mind) and not caring about what others says<br>&gt; (&quot;the standard&quot;) can be a relief. 
<br>&gt;<br>&gt;&gt; Your argument is much like saying &quot;I'm sure if you all used<br>&gt;&gt; uninitialized variables you'll like them&quot;.<br>&gt;<br>&gt;<br>&gt; It depends. In Java they would;-P<br>&gt;<br>&gt;&gt; 
<br>&gt;&gt;&gt;<br>&gt;<br>&gt; G.<br>&gt; _______________________________________________<br>&gt; Ros-dev mailing list<br>&gt; <a href="mailto:Ros-dev@reactos.com">Ros-dev@reactos.com</a><br>&gt; <a href="http://reactos.com:8080/mailman/listinfo/ros-dev">
http://reactos.com:8080/mailman/listinfo/ros-dev</a><br>&gt;<br><br>_______________________________________________<br>Ros-dev mailing list<br><a href="mailto:Ros-dev@reactos.com">Ros-dev@reactos.com</a><br><a href="http://reactos.com:8080/mailman/listinfo/ros-dev">
http://reactos.com:8080/mailman/listinfo/ros-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>&lt;P&gt;My DeviantArt.com page: &lt;A href=&quot;<a href="http://crashfourit.deviantart.com/&quot;">http://crashfourit.deviantart.com/&quot; 
</a>&gt;<a href="http://crashfourit.deviantart.com/">http://crashfourit.deviantart.com/</a>&lt;/A&gt;&lt;BR&gt;My FanFiction.net bio page: &lt;A href=&quot;<a href="http://www.fanfiction.net/u/726606/&quot;">http://www.fanfiction.net/u/726606/&quot; 
</a>&gt;<a href="http://www.fanfiction.net/u/726606/">http://www.fanfiction.net/u/726606/</a>&lt;/A&gt;&lt;BR&gt;My Blog: &lt;A href=&quot;<a href="http://crashfourit.blogspot.com&quot;/">http://crashfourit.blogspot.com&quot; 
</a>&gt;<a href="http://crashfourit.blogspot.com/">http://crashfourit.blogspot.com</a>&lt;/A&gt;&lt;BR&gt;America's Debate: &lt;A href=&quot;<a href="http://www.americasdebate.com/&quot;">http://www.americasdebate.com/&quot; 
</a>&gt;<a href="http://www.americasdebate.com/">http://www.americasdebate.com/</a>&lt;/A&gt; &lt;/P&gt;