<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: JavaScript Objects Coding Style</title>
	<atom:link href="/2010/05/24/javascript-objects-coding-style/feed/" rel="self" type="application/rss+xml" />
	<link>/2010/05/24/javascript-objects-coding-style/</link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>By: Nilima Kadam</title>
		<link>/2010/05/24/javascript-objects-coding-style/comment-page-1/#comment-14179</link>
		<dc:creator><![CDATA[Nilima Kadam]]></dc:creator>
		<pubDate>Thu, 03 Feb 2011 19:38:56 +0000</pubDate>
		<guid isPermaLink="false">/?p=1557#comment-14179</guid>
		<description><![CDATA[How about doing away with the worry of adding , after each element.

Why not try this:

PHP:
&lt;pre lang=&quot;php&quot;&gt;
Single dimensional-
$arr[&#039;short&#039;]  = &#039;val&#039;;
$arr[&#039;longkey&#039;] = &#039;val&#039;;
&lt;/pre&gt;
Multi dimensional-
&lt;pre lang=&quot;php&quot;&gt;
$arr[0][0]=&#039;00&#039;;
$arr[0][1]=&#039;01&#039;;
$arr[1][0]=&#039;10&#039;;
$arr[1][1]=&#039;11&#039;;
&lt;/pre&gt;
This looks neat,structured &#038; easy to understand what key holds what value.]]></description>
		<content:encoded><![CDATA[<p>How about doing away with the worry of adding , after each element.</p>
<p>Why not try this:</p>
<p>PHP:</p>
<pre lang="php">
Single dimensional-
$arr['short']  = 'val';
$arr['longkey'] = 'val';
</pre>
<p>Multi dimensional-</p>
<pre lang="php">
$arr[0][0]='00';
$arr[0][1]='01';
$arr[1][0]='10';
$arr[1][1]='11';
</pre>
<p>This looks neat,structured &amp; easy to understand what key holds what value.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
