<?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: LogicCo</title>
    <description>The latest articles on DEV Community by LogicCo (@logicco).</description>
    <link>https://dev.to/logicco</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3850047%2F142b69d5-83f4-45c0-8ede-f5a7d32f528d.png</url>
      <title>DEV Community: LogicCo</title>
      <link>https://dev.to/logicco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/logicco"/>
    <language>en</language>
    <item>
      <title>Why would Go do this in its documentation?</title>
      <dc:creator>LogicCo</dc:creator>
      <pubDate>Sat, 18 Apr 2026 23:17:47 +0000</pubDate>
      <link>https://dev.to/logicco/why-would-go-do-this-in-its-documentation-45e</link>
      <guid>https://dev.to/logicco/why-would-go-do-this-in-its-documentation-45e</guid>
      <description>&lt;p&gt;Before diving in, let me be clear: this is not a critique nor a complaint about Go. It’s simply an observation that led me to an interesting question. &lt;/p&gt;

&lt;p&gt;Go is my everyday work tool, and I enjoy using it like no other programming language.&lt;/p&gt;

&lt;h2&gt;
  
  
  The go command
&lt;/h2&gt;

&lt;p&gt;If there’s one tool every Go developer uses constantly, it’s the &lt;strong&gt;go&lt;/strong&gt; command. It’s the direct gateway to every aspect of a Go project, from module management to environment configuration.&lt;/p&gt;

&lt;p&gt;Because of its importance, every serious Go developer should read the &lt;a href="https://pkg.go.dev/cmd/go" rel="noopener noreferrer"&gt;go command documentation&lt;/a&gt;, or at least be aware of its existence.&lt;/p&gt;

&lt;p&gt;This documentation artifact covers all available commands, along with related topics. For example, the &lt;strong&gt;go test&lt;/strong&gt; command  and the &lt;strong&gt;Build and test caching&lt;/strong&gt; topic, since they’re closely related. Everything feels intentional, structured, and very &lt;em&gt;Go-like.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which is exactly why something stood out.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Observation
&lt;/h2&gt;

&lt;p&gt;If you look carefully at the full list of commands, you’ll notice something unusual, something that feels almost out of place in a language known for its simplicity and consistency:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The alphabetical order breaks at the “work” command.&lt;/strong&gt;&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.amazonaws.com%2Fuploads%2Farticles%2F5fdr4d6y4p9840709z4w.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.amazonaws.com%2Fuploads%2Farticles%2F5fdr4d6y4p9840709z4w.png" alt="list of commands" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And it’s not just in the list. As you continue reading through the documentation, the order stays broken, until after the &lt;strong&gt;Workspace maintenance&lt;/strong&gt; topic, where it quietly returns to normal.&lt;/p&gt;

&lt;p&gt;That makes the &lt;strong&gt;work&lt;/strong&gt; command the only command sitting in the wrong alphabetical position throughout the entire documentation.&lt;/p&gt;

&lt;p&gt;Naturally, you might think: &lt;em&gt;“Maybe the Workspace concept is a prerequisite for understanding the commands that follow?”&lt;/em&gt; It’s a reasonable guess. But when you go through those commands with that idea in mind, the connection simply isn’t there. The following commands don’t relate to workspaces, and understanding them doesn’t require any knowledge of the concept.&lt;/p&gt;

&lt;p&gt;So the question stands: &lt;strong&gt;Why would Go do this?&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Any Ideas?
&lt;/h2&gt;

&lt;p&gt;No “official” answer has been found, at least not by me. But here are a few reasonable theories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The “late addition” theory:&lt;/strong&gt; A previous version of the documentation didn’t include the commands that come after &lt;strong&gt;work&lt;/strong&gt;. The alphabetical order was correct back then, and when new commands were added later, no one bothered to reorder everything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The “not worth fixing” theory:&lt;/strong&gt; It’s a known inconsistency, but correcting it would require changes across many interconnected parts of the documentation and other artifacts. Not worth the effort for something that doesn’t affect functionality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The “Easter egg” theory:&lt;/strong&gt; It’s a subtle joke, intentionally left there to “reward” the most observant and detail-oriented developers. Why not?&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;I haven’t done extensive research on this, and I don’t plan to. But I find it to be a genuinely fun discussion topic, especially in a language that prides itself on clarity and consistency.&lt;/p&gt;

&lt;p&gt;If you know the “official” answer, or have a theory of your own, drop it in the comments. I’d like to read it.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>go</category>
      <category>code</category>
      <category>documentation</category>
    </item>
  </channel>
</rss>
