<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pragmatic Forums | Posts in topic 'Praise and suggestion'</title>
    <link>/forums/45/topics/519.rss</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Praise and suggestion posted by Bharat Ruparel @ Mon, 09 Jun 2008 17:34:33 +0000</title>
      <description>&lt;p&gt;Hello Matt,&lt;br /&gt;I can see where you are coming from.  Like you, I am an experienced Java programmer, and have dabbled in Ruby for awhile.  The Javascript/Prototype syntax does take some getting used to.&lt;br /&gt;To get around that, I bought two books on Javascript alone.  Both from SitePoint.  The first one titled &amp;#8220;Simply Javascript&amp;#8221; preps you for understanding this kind of syntax and the second one titled &amp;#8220;The Art and Science of Javascript&amp;#8221; takes you a step further.&lt;br /&gt;If I was coming to Christophe&amp;#8217;s Prototype book without this preparation, I would have had the same problems.  Having said that, I think that the suggestion to put this as a separate appendix in the next version of this book an excellent one.  It would make it more self-contained and useful.  It is very good already.&lt;br /&gt;Bharat&lt;/p&gt;</description>
      <pubDate>Mon, 09 Jun 2008 17:34:33 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:45:519:3110</guid>
      <author>Bharat Ruparel</author>
      <link>http://forums.pragprog.com/forums/45/topics/519</link>
    </item>
    <item>
      <title>Praise and suggestion posted by Christophe Porteneuve @ Mon, 09 Jun 2008 06:46:27 +0000</title>
      <description>&lt;p&gt;Hey Matt,&lt;/p&gt;


	&lt;p&gt;Well, thanks for the praise!  I&amp;#8217;m delighted the book is helpful to you.&lt;/p&gt;


	&lt;p&gt;As for your suggestion, it&amp;#8217;s a pretty good idea.  I&amp;#8217;ll keep it around for the second edition, and tuck it somewhere between the intro and the Prototype part (or, at worst, put it up as first appendix and reference it throughout the book).&lt;/p&gt;</description>
      <pubDate>Mon, 09 Jun 2008 06:46:27 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:45:519:3103</guid>
      <author>Christophe Porteneuve</author>
      <link>http://forums.pragprog.com/forums/45/topics/519</link>
    </item>
    <item>
      <title>Praise and suggestion posted by Matthew Grdinic @ Mon, 09 Jun 2008 05:07:45 +0000</title>
      <description>&lt;p&gt;First, some praise for your book. It&amp;#8217;s very well written, and much like the libraries it features, concise and to the point. It&amp;#8217;s been a joy to read, and the more I get into it, the more beautiful and exciting the Prototype library becomes. Your book has taken what for me is a fairly advanced topic and made it fun to learn.&lt;/p&gt;


	&lt;p&gt;That said, I do have a suggestion for any future versions that would in my opinion, make it even better:&lt;/p&gt;


	&lt;p&gt;First, as a seasoned programmer with Java, .NET, and Object Oriented &lt;span class="caps"&gt;PHP&lt;/span&gt; experience, the syntax of Javascript/Prototype with all its anonymous functions, chained calls, and higher-order functions is quite simply bizarre to me.&lt;/p&gt;


	&lt;p&gt;I imagine many other programmers without serious Javascript/dynamic language experience feel the same way. Thus, I would love to see a quick introduction chapter on &amp;#8216;Syntax conventions you&amp;#8217;ll need to know&amp;#8217;, that goes into how javascript/protoype syntax differs from many standard, non-dynamic languages.&lt;/p&gt;


	&lt;p&gt;For example, on page 13 you create a Person &amp;#8216;class&amp;#8217;, then create instance methods getFullName() et al using:&lt;br /&gt;Class({
 },&lt;br /&gt;member:(){&lt;br /&gt;},&lt;br /&gt;member:(){&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;etc.&lt;/p&gt;


	&lt;p&gt;That syntax with it&amp;#8217;s commas, parentheses, and colons is so totally different from what I&amp;#8217;m used to that it took way longer to sink in than I wanted. Please understand, it&amp;#8217;s not so much the technique that was overwhelming, it was the lack of syntax &lt;strong&gt;explination&lt;/strong&gt;. I think at one point you say they&amp;#8217;re name=value pairs, but the fact that I still don&amp;#8217;t know why methods and classes are arranged this way speaks to my concern.&lt;/p&gt;


	&lt;p&gt;The same can be said of some of the other features listed above such as higher-order functions. Yes you explain them, but it&amp;#8217;s in the context of an example &lt;em&gt;within&lt;/em&gt; a short tutorial.&lt;/p&gt;


	&lt;p&gt;Bottom line, I stumbled around a fair bit the first day or two with the book becuase the syntax and features were so very forign to me. If I had a single location that laid out all of these quirks with very generic /here is what you may know-&amp;gt;this is how it&amp;#8217;s different/, I could have gotten up to speed even faster!&lt;/p&gt;


	&lt;p&gt;That said, after only 6 days with this book (including working a 50 hour work week), I feel confident enough to start writing my own applications. That makes me one happy developer : )&lt;/p&gt;</description>
      <pubDate>Mon, 09 Jun 2008 05:07:45 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:45:519:3102</guid>
      <author>Matthew Grdinic</author>
      <link>http://forums.pragprog.com/forums/45/topics/519</link>
    </item>
  </channel>
</rss>
