<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Arrays on Nalar</title>
    <link>https://nalar.dev/tags/arrays/</link>
    <description>Recent content in Arrays on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 19 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/arrays/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Array Syntax in Go, PHP, JavaScript, Kotlin, Rust, and Python</title>
      <link>https://nalar.dev/array-syntax-in-go-php-javascript-kotlin-rust-and-python/</link>
      <pubDate>Sat, 19 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/array-syntax-in-go-php-javascript-kotlin-rust-and-python/</guid>
      <description>&lt;p&gt;Square brackets make array code look deceptively portable. In Rust, &lt;code&gt;[10, 20, 30]&lt;/code&gt; can be a fixed-size array whose length is part of its type. In Python, the same visual shape creates a mutable &lt;code&gt;list&lt;/code&gt;. PHP uses bracket syntax for an ordered map, while JavaScript creates a resizable &lt;code&gt;Array&lt;/code&gt; object.&lt;/p&gt;&#xA;&lt;p&gt;The syntax is easy to memorize. The more important distinction is what the value means after it has been created.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
