<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Select on Nalar</title>
    <link>https://nalar.dev/tags/select/</link>
    <description>Recent content in Select on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 16 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/select/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Go Nil Channels Disable Select Cases</title>
      <link>https://nalar.dev/go-nil-channels-disable-select-cases/</link>
      <pubDate>Wed, 16 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/go-nil-channels-disable-select-cases/</guid>
      <description>&lt;p&gt;A send or receive on a nil Go channel can never proceed. Inside a &lt;code&gt;select&lt;/code&gt;, that property removes the associated communication case from the set of cases eligible to run, without requiring a separate condition around the &lt;code&gt;select&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This behavior follows directly from the channel contract. The zero value of a channel is &lt;code&gt;nil&lt;/code&gt;, and a nil channel is never ready for communication. A standalone send or receive therefore blocks indefinitely. A &lt;code&gt;select&lt;/code&gt; treats the same operation as a case that cannot currently proceed.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
