<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: 4 Ways JavaScript Has Changed the Way I&#160;Code</title> <atom:link href="http://davidwalsh.name/ways-javascript-changed-code/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/ways-javascript-changed-code</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 24 May 2012 07:34:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: makemoniesonline</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-27057</link> <dc:creator>makemoniesonline</dc:creator> <pubDate>Fri, 30 Sep 2011 03:10:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-27057</guid> <description>&quot;I probably thought that the extra whitespace made the code easier to read. Now I&#039;m just annoyed with beginning braces having their own line. Seems like a waste of space.&quot;JavaScript FTL.Putting the brace on the same line is retarded and makes code unreadable.</description> <content:encoded><![CDATA[<p>&#8220;I probably thought that the extra whitespace made the code easier to read. Now I&#8217;m just annoyed with beginning braces having their own line. Seems like a waste of space.&#8221;</p><p>JavaScript FTL.</p><p>Putting the brace on the same line is retarded and makes code unreadable.</p> ]]></content:encoded> </item> <item><title>By: Tim Wickstrom</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-18243</link> <dc:creator>Tim Wickstrom</dc:creator> <pubDate>Tue, 15 Jun 2010 21:56:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-18243</guid> <description>Dude you crack me up! Sounds like we have a very similar story in how we learned programming, and have come to many of the same conclusions!in ref to: I Require Frameworks (Screw You Vanilla PHP!), could not agree more!I am located just south of you in Rockford IL. We should get a regional MooTools/PHP/AJAX group going.Hit me up sometime if that sound of interest to you.</description> <content:encoded><![CDATA[<p>Dude you crack me up! Sounds like we have a very similar story in how we learned programming, and have come to many of the same conclusions!</p><p>in ref to: I Require Frameworks (Screw You Vanilla PHP!), could not agree more!</p><p>I am located just south of you in Rockford IL. We should get a regional MooTools/PHP/AJAX group going.</p><p>Hit me up sometime if that sound of interest to you.</p> ]]></content:encoded> </item> <item><title>By: lossendae</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17990</link> <dc:creator>lossendae</dc:creator> <pubDate>Wed, 02 Jun 2010 21:29:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17990</guid> <description>I personnaly don&#039;t use so much undescore with PHP anymore. I like CamelCase.I love ExtJS :)I try to conform to this:
http://developer.fellowshipone.com/patterns/code.php</description> <content:encoded><![CDATA[<p>I personnaly don&#8217;t use so much undescore with PHP anymore. I like CamelCase.</p><p>I love ExtJS :)</p><p>I try to conform to this:<br
/> <a
href="http://developer.fellowshipone.com/patterns/code.php" rel="nofollow">http://developer.fellowshipone.com/patterns/code.php</a></p> ]]></content:encoded> </item> <item><title>By: vladimir prieto</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17448</link> <dc:creator>vladimir prieto</dc:creator> <pubDate>Thu, 06 May 2010 21:40:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17448</guid> <description>&quot;I Want Everything to be an Object&quot;that&#039;s way a began to love ruby (rails)!;)</description> <content:encoded><![CDATA[<p>&#8220;I Want Everything to be an Object&#8221;</p><p>that&#8217;s way a began to love ruby (rails)!</p><p>;)</p> ]]></content:encoded> </item> <item><title>By: Kirill</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17399</link> <dc:creator>Kirill</dc:creator> <pubDate>Tue, 04 May 2010 05:09:46 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17399</guid> <description>Frameworks (and I mean MooTools!!). It is the reason I started using JS. Wihtout MooTools I wouldn&#039;t even bother starting using JS in my applications because original JS is so painful to use.</description> <content:encoded><![CDATA[<p>Frameworks (and I mean MooTools!!). It is the reason I started using JS. Wihtout MooTools I wouldn&#8217;t even bother starting using JS in my applications because original JS is so painful to use.</p> ]]></content:encoded> </item> <item><title>By: WouterToering</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17379</link> <dc:creator>WouterToering</dc:creator> <pubDate>Sun, 02 May 2010 08:10:12 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17379</guid> <description>@Hudson:  Yes, Wikipedia is a bad reference haha, just saying :P.I am not really familiar with the C languages (shame), but as C noob I consider C way more OOP than PHP, looking at the basic examples. I learned (and I believe almost everybody else too) PHP not by using Classes, but just by the basics of echo and include.And JavaScript, hmmz, I thought JavaScript doesn&#039;t even have official Class support? And I never noticed anything about strictness of brackets in JavaScript, maybe I just use an awesome indention style haha.Anyway, I still don&#039;t believe PHP is Object Oriented, in my opinion it&#039;s kind a the &quot;screw around&quot; language, where you can try things on many different ways, getting the same result, without errors. But that&#039;s just my opinion ;).</description> <content:encoded><![CDATA[<p>@Hudson:  Yes, Wikipedia is a bad reference haha, just saying :P.</p><p>I am not really familiar with the C languages (shame), but as C noob I consider C way more OOP than PHP, looking at the basic examples. I learned (and I believe almost everybody else too) PHP not by using Classes, but just by the basics of echo and include.</p><p>And JavaScript, hmmz, I thought JavaScript doesn&#8217;t even have official Class support? And I never noticed anything about strictness of brackets in JavaScript, maybe I just use an awesome indention style haha.</p><p>Anyway, I still don&#8217;t believe PHP is Object Oriented, in my opinion it&#8217;s kind a the &#8220;screw around&#8221; language, where you can try things on many different ways, getting the same result, without errors. But that&#8217;s just my opinion ;).</p> ]]></content:encoded> </item> <item><title>By: @Hudson</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17372</link> <dc:creator>@Hudson</dc:creator> <pubDate>Sat, 01 May 2010 19:58:26 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17372</guid> <description>@WouterToering:  http://en.wikipedia.org/wiki/Php -- object oriented.
I know wikipedia is bad argument. But anyway how about C++? is it object-oriented or not? You can write it like as procedural language. Same goes with javascript. Actually I consider PHP more traditional OOP than javascript. JavaScript objects are associative arrays.There is lots of good things in JavaScript and I recommend you all to watch this and 4 other videos as well:
http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-2JavaScript is also more strict about place of brackets than PHP.@Dean:  Yea :)</description> <content:encoded><![CDATA[<p>@WouterToering: <a
href="http://en.wikipedia.org/wiki/Php" rel="nofollow">http://en.wikipedia.org/wiki/Php</a> &#8212; object oriented.<br
/> I know wikipedia is bad argument. But anyway how about C++? is it object-oriented or not? You can write it like as procedural language. Same goes with javascript. Actually I consider PHP more traditional OOP than javascript. JavaScript objects are associative arrays.</p><p>There is lots of good things in JavaScript and I recommend you all to watch this and 4 other videos as well:<br
/> <a
href="http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-2" rel="nofollow">http://developer.yahoo.com/yui/theater/video.php?v=crockonjs-2</a></p><p>JavaScript is also more strict about place of brackets than PHP.</p><p>@Dean:  Yea :)</p> ]]></content:encoded> </item> <item><title>By: Crookes</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17370</link> <dc:creator>Crookes</dc:creator> <pubDate>Sat, 01 May 2010 17:41:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17370</guid> <description>Good stuff.I find whitespace a pain usually, in any language.Chris</description> <content:encoded><![CDATA[<p>Good stuff.</p><p>I find whitespace a pain usually, in any language.</p><p>Chris</p> ]]></content:encoded> </item> <item><title>By: Jason</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17140</link> <dc:creator>Jason</dc:creator> <pubDate>Sat, 17 Apr 2010 10:45:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17140</guid> <description>Placing braces on the same line is the preferred style for most languages (e.g., C). Personally, I prefer no braces .. yay Python and Lua!</description> <content:encoded><![CDATA[<p>Placing braces on the same line is the preferred style for most languages (e.g., C). Personally, I prefer no braces .. yay Python and Lua!</p> ]]></content:encoded> </item> <item><title>By: Flxa</title><link>http://davidwalsh.name/ways-javascript-changed-code#comment-17138</link> <dc:creator>Flxa</dc:creator> <pubDate>Sat, 17 Apr 2010 04:38:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4946#comment-17138</guid> <description>Braces on the same line, I think of them like colons in plain English.
List heading:
item 1
item 2orfunction() {
// business
// more business
}but notList heading
:
item 1
item 2orfunction()
{
// business
}if the function is short then the whole thing can easily be on the same line
if($this_happened){/*do this simple thing*/}kind of likeQuestion: answerProbably not the best explanation but what I&#039;m getting at is that the first brace should never need it&#039;s own line and if the function is big enough then the last one should definitely have it&#039;s own line.</description> <content:encoded><![CDATA[<p>Braces on the same line, I think of them like colons in plain English.<br
/> List heading:<br
/> item 1<br
/> item 2</p><p>or</p><p>function() {<br
/> // business<br
/> // more business<br
/> }</p><p>but not</p><p>List heading<br
/> :<br
/> item 1<br
/> item 2</p><p>or</p><p>function()<br
/> {<br
/> // business<br
/> }</p><p>if the function is short then the whole thing can easily be on the same line<br
/> if($this_happened){/*do this simple thing*/}</p><p>kind of like</p><p>Question: answer</p><p>Probably not the best explanation but what I&#8217;m getting at is that the first brace should never need it&#8217;s own line and if the function is big enough then the last one should definitely have it&#8217;s own line.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.008 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-24 02:59:39 -->
