<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: nourdude</title>
    <description>The latest articles on DEV Community by nourdude (@nour_dude_314).</description>
    <link>https://dev.to/nour_dude_314</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4106507%2F171411b5-6a85-48c2-9c03-9be8dd20cdb3.png</url>
      <title>DEV Community: nourdude</title>
      <link>https://dev.to/nour_dude_314</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nour_dude_314"/>
    <language>en</language>
    <item>
      <title>goto's underrated</title>
      <dc:creator>nourdude</dc:creator>
      <pubDate>Tue, 22 Sep 2026 19:45:27 +0000</pubDate>
      <link>https://dev.to/nour_dude_314/gotos-underrated-1ne7</link>
      <guid>https://dev.to/nour_dude_314/gotos-underrated-1ne7</guid>
      <description>&lt;p&gt;goto is &lt;strong&gt;absolutely&lt;/strong&gt; underrated.&lt;/p&gt;

&lt;p&gt;it isn't inherently bad. like any control-flow tool, it depends on how exactly you'd use it.&lt;/p&gt;

&lt;p&gt;proper usage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gotoif (error!=0) {do_cleanup}

// complete_operation

label do_cleanup
  sys.unlock_file(descriptor)
  sys.free(buffer)
  return
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this is pretty simple: if something goes wrong, go clean up.&lt;/p&gt;

&lt;p&gt;messed-up usage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@label b
goto a
@label c
goto b
@label a
goto c
// a forever do-nothing loop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this is technically valid, but... it's confusing and is absolutely useless. &lt;br&gt;
like- BRO I NEED A GRAPH TO SEE THAT THIS THING IS A LITERAL INFINITE JUMP LOOP!&lt;/p&gt;

&lt;p&gt;what i'm saying isn't "always use goto." nor is it "never use goto."&lt;/p&gt;

&lt;p&gt;it's that goto itself isn't the problem. bad control flow is.&lt;/p&gt;

&lt;p&gt;and when you call it a problem because dijkstra said it? without any defensible argument? dogma.&lt;/p&gt;

&lt;p&gt;for example, i could frame while as bad:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;while (x) {
 while (y) {
  do z
  while (a) {
  }
  do f
 }
 eat orange
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or if, or for, or whatever i want to.&lt;br&gt;
it's not the tool. it's the usage.&lt;/p&gt;

</description>
      <category>goto</category>
      <category>assembly</category>
      <category>c</category>
    </item>
    <item>
      <title>Classic...</title>
      <dc:creator>nourdude</dc:creator>
      <pubDate>Mon, 21 Sep 2026 12:18:48 +0000</pubDate>
      <link>https://dev.to/nour_dude_314/classic-4jac</link>
      <guid>https://dev.to/nour_dude_314/classic-4jac</guid>
      <description>&lt;p&gt;classic rite of passage lol&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwslyu57t3ju3uffye5t5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwslyu57t3ju3uffye5t5.png" alt="6502 printing" width="256" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>classic</category>
      <category>rite</category>
      <category>assembly</category>
    </item>
  </channel>
</rss>
