<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Negation &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/negation/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Beginning Algorithm Complexity and Estimation</title>
		<link>/2010/08/29/beginning-algorithm-complexity-and-estimation/</link>
		<comments>/2010/08/29/beginning-algorithm-complexity-and-estimation/#respond</comments>
		<pubDate>Sun, 29 Aug 2010 11:05:47 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[Analysis of algorithms]]></category>
		<category><![CDATA[Asymptotic analysis]]></category>
		<category><![CDATA[Big O notation]]></category>
		<category><![CDATA[C syntax]]></category>
		<category><![CDATA[complexity]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Lenstra elliptic curve factorization]]></category>
		<category><![CDATA[Mathematical analysis]]></category>
		<category><![CDATA[Mathematical notation]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Negation]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Variable]]></category>

		<guid isPermaLink="false">/?p=1937</guid>
		<description><![CDATA[Which is the Fastest Program? When a programmer sees a chunk of code he tends to evaluate it in a rather intuitive manner and to qualify it as &#8220;elegant&#8221; or not. This is quite easy, because it&#8217;s subjective and nobody knows what exactly elegant means. However behind this there is a powerful mathematical approach of &#8230; <a href="/2010/08/29/beginning-algorithm-complexity-and-estimation/" class="more-link">Continue reading <span class="screen-reader-text">Beginning Algorithm Complexity and Estimation</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/09/03/friday-algorithms-input-data-and-complexity/" rel="bookmark" title="Friday Algorithms: Input Data and Complexity">Friday Algorithms: Input Data and Complexity </a></li>
<li><a href="/2010/10/03/using-php-array_diff-in-algorithm-development/" rel="bookmark" title="Using PHP&#8217;s array_diff in Algorithm Development">Using PHP&#8217;s array_diff in Algorithm Development </a></li>
<li><a href="/2011/11/04/how-to-check-if-a-date-is-more-or-less-than-a-month-ago-with-php/" rel="bookmark" title="How to Check if a Date is More or Less Than a Month Ago with PHP">How to Check if a Date is More or Less Than a Month Ago with PHP </a></li>
<li><a href="/2012/03/12/algorithm-cheatsheet-quicksort/" rel="bookmark" title="Algorithm cheatsheet: Quicksort">Algorithm cheatsheet: Quicksort </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Which is the Fastest Program?</h2>
<p><a href="/wp-content/uploads/2010/08/complexity.jpg"><img src="/wp-content/uploads/2010/08/complexity.jpg" alt="" title="circuit" width="430" height="213" class="aligncenter size-full wp-image-1949" srcset="/wp-content/uploads/2010/08/complexity.jpg 430w, /wp-content/uploads/2010/08/complexity-300x148.jpg 300w" sizes="(max-width: 430px) 100vw, 430px" /></a><br />
When a programmer sees a chunk of code he tends to evaluate it in a rather intuitive manner and to qualify it as &#8220;elegant&#8221; or not. This is quite easy, because it&#8217;s subjective and nobody knows what exactly elegant means. However behind this there is a powerful mathematical approach of measuring a program effectiveness.</p>
<p>It&#8217;s a pity that most of the developers still think of the big O notation as something from the university classes, but unusual in the practice and they barely use it their job. But before describing the big O notation, let me start from something really simple.</p>
<p>Let&#8217;s have the following example (note that all the examples are in PHP):</p>
<pre lang="php">
$n = 100;
$s = 0;

for ($i = 0; $i < $n; $i++) {
	for ($j = 0; $j < $n; $j++) {
		$s++;	
	}	
}
</pre>
<p>As you can see there are two assignments and two nested loops. This is really a widely used example from any algorithm book.</p>
<h2>Constants, Languages, Compilers</h2>
<p>First of all the time to assign a value to a variable, to compare two values and to increment a variable is constant. It depends on the computer resources, the compiler or the language, but it's constant on one machine if you compare two chunks of code. Now we can see that these operations take (add) constant time to the program, and we can assume this time is respectively a, b, c, d, e, f, g, h, i.</p>
<pre lang="php">
$n = 100; 	// a
$s = 0;		// b
$i = 0; 	// c
$i < $n; 	// d
$i++;		// e
$j = 0; 	// f
$j < $n;	// g
$j++;		// h
$s++;		// i
</pre>
<h2>What Matters?</h2>
<p>Actually the most important thing here is the value of n. By assigning greater values to n the more time will take the program to run. As we can see from the following table by multiplying the value of n by 10, the time became 100 times more.</p>
<pre lang="php">
n		time
10		0.00002
100		0.002
...		...
</pre>
<p>What happens in fact is that we can sum all these values.</p>
<pre lang="php">
a + b + c + n*d + n*e + n*(f + n*g + n*h + n*i)
</pre>
<p>and by substituting:</p>
<pre lang="php">
a + b + c = k
d + e + n = l
g + h + i = m
</pre>
<p>the result is:</p>
<pre lang="php">
m*n² + l*n + k
</pre>
<h2>Conclusion</h2>
<p>Here the most important thing is the degree of n, because it can change dramatically the program time consumption depending on the n value. Thus this chunk has a quadratic complexity or O(n²).</p>
<p>Of course there are constants, but in the practice they are not so important. Take a look at these two functions:</p>
<pre lang="php">
f = 2*n²
g = 200*n
</pre>
<p>OK, for n = 1 the first one will be faster, but as n increments the second function becomes to be faster and faster, thus after a given value of n the second function is really the fastest!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/09/03/friday-algorithms-input-data-and-complexity/" rel="bookmark" title="Friday Algorithms: Input Data and Complexity">Friday Algorithms: Input Data and Complexity </a></li>
<li><a href="/2010/10/03/using-php-array_diff-in-algorithm-development/" rel="bookmark" title="Using PHP&#8217;s array_diff in Algorithm Development">Using PHP&#8217;s array_diff in Algorithm Development </a></li>
<li><a href="/2011/11/04/how-to-check-if-a-date-is-more-or-less-than-a-month-ago-with-php/" rel="bookmark" title="How to Check if a Date is More or Less Than a Month Ago with PHP">How to Check if a Date is More or Less Than a Month Ago with PHP </a></li>
<li><a href="/2012/03/12/algorithm-cheatsheet-quicksort/" rel="bookmark" title="Algorithm cheatsheet: Quicksort">Algorithm cheatsheet: Quicksort </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/08/29/beginning-algorithm-complexity-and-estimation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Friday Algorithms: Quicksort &#8211; Difference Between PHP and JavaScript</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/</link>
		<comments>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 07:13:01 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Computer programming]]></category>
		<category><![CDATA[Computer science]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Curly bracket programming languages]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[Negation]]></category>
		<category><![CDATA[Null]]></category>
		<category><![CDATA[one sorting algorithm]]></category>
		<category><![CDATA[Procedural programming languages]]></category>
		<category><![CDATA[Quicksort]]></category>
		<category><![CDATA[Scripting languages]]></category>

		<guid isPermaLink="false">/?p=1602</guid>
		<description><![CDATA[Here&#8217;s some Friday fun. Let me show you one sorting algorithm, perhaps the most known of all them &#8211; the quick sort, implemented both on PHP and JavaScript. Although the code look similar between both languages, there are few differences, that show the importance of the syntax knowledge! 1. PHP<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/06/25/friday-algorithms-sorting-a-set-of-integers-far-quicker-than-quicksort/" rel="bookmark" title="Friday Algorithms: Sorting a Set of Integers &#8211; Far Quicker than Quicksort!">Friday Algorithms: Sorting a Set of Integers &#8211; Far Quicker than Quicksort! </a></li>
<li><a href="/2010/06/18/friday-algorithms-iterative-quicksort/" rel="bookmark" title="Friday Algorithms: Iterative Quicksort">Friday Algorithms: Iterative Quicksort </a></li>
<li><a href="/2010/05/24/javascript-objects-coding-style/" rel="bookmark" title="JavaScript Objects Coding Style">JavaScript Objects Coding Style </a></li>
<li><a href="/2010/07/09/friday-algorithms-javascript-bubble-sort/" rel="bookmark" title="Friday Algorithms: JavaScript Bubble Sort">Friday Algorithms: JavaScript Bubble Sort </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s some Friday fun. Let me show you one sorting algorithm, perhaps the most known of all them &#8211; the quick sort, implemented both on PHP and JavaScript. Although the code look similar between both languages, there are few differences, that show the importance of the syntax knowledge!</p>
<h3>1. PHP</h3>
<pre lang="php">
<?php

    $unsorted = array(2,4,5,63,4,5,63,2,4,43);

    function quicksort($array)
    {
        if (count($array) == 0)
            return array();

        $pivot = $array[0];
        $left = $right = array();

        for ($i = 1; $i < count($array); $i++) {
            if ($array[$i] < $pivot)
                $left[] = $array[$i];
            else
                $right[] = $array[$i];
        }

        return array_merge(quicksort($left), array($pivot), quicksort($right));
    }

    $sorted = quicksort($unsorted);

    print_r($sorted);
</pre>
<h3>2. JavaScript</h3>
<pre lang="javascript">
var a = [2,4,5,63,4,5,63,2,4,43];

function quicksort(arr)
{
    if (arr.length == 0)
        return [];

    var left = new Array();
    var right = new Array();
    var pivot = arr[0];

    for (var i = 1; i < arr.length; i++) {
        if (arr[i] < pivot) {
           left.push(arr[i]);
        } else {
           right.push(arr[i]);
        }
    }

    return quicksort(left).concat(pivot, quicksort(right));
}

console.log(quicksort(a));
</pre>
<p>Note that the first conditional statement is quite important! While in PHP the count function will return 0 either on a NULL value or an empty array and you can substitute it with something like count($array) &lt; 2</p>
<pre lang="php">
if (count($array) < 2)
	return $array;
</pre>
<p>in JavaScript you cannot use that because of the presence of the 'undefined' value when an "empty" array is passed as an argument. Thus you've the conditional above:</p>
<pre lang="javascript">
// this will result with an error
if (arr.length < 2)
        return arr;
</pre>
<h2>Coming Up Next ...</h2>
<p>An iterative version of the algorithm next Friday!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/06/25/friday-algorithms-sorting-a-set-of-integers-far-quicker-than-quicksort/" rel="bookmark" title="Friday Algorithms: Sorting a Set of Integers &#8211; Far Quicker than Quicksort!">Friday Algorithms: Sorting a Set of Integers &#8211; Far Quicker than Quicksort! </a></li>
<li><a href="/2010/06/18/friday-algorithms-iterative-quicksort/" rel="bookmark" title="Friday Algorithms: Iterative Quicksort">Friday Algorithms: Iterative Quicksort </a></li>
<li><a href="/2010/05/24/javascript-objects-coding-style/" rel="bookmark" title="JavaScript Objects Coding Style">JavaScript Objects Coding Style </a></li>
<li><a href="/2010/07/09/friday-algorithms-javascript-bubble-sort/" rel="bookmark" title="Friday Algorithms: JavaScript Bubble Sort">Friday Algorithms: JavaScript Bubble Sort </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>JavaScript Objects Coding Style</title>
		<link>/2010/05/24/javascript-objects-coding-style/</link>
		<comments>/2010/05/24/javascript-objects-coding-style/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:48:50 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Associative array]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Computer programming]]></category>
		<category><![CDATA[Computer science]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Curly bracket programming languages]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[JavaScript syntax]]></category>
		<category><![CDATA[Negation]]></category>
		<category><![CDATA[Procedural programming languages]]></category>
		<category><![CDATA[Scripting languages]]></category>

		<guid isPermaLink="false">/?p=1557</guid>
		<description><![CDATA[JavaScript vs. PHP Continuing from my post about PHP arrays coding style and following the comments of that post, I&#8217;d like to write a bit about JavaScript objects&#8217; coding style. You perhaps know that the term object is quite undefined or under estimated in the JavaScript world, but I&#8217;d speak about the key/value pairs in &#8230; <a href="/2010/05/24/javascript-objects-coding-style/" class="more-link">Continue reading <span class="screen-reader-text">JavaScript Objects Coding Style</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/12/03/javascript-objects-coding-style-reviewed/" rel="bookmark" title="JavaScript Objects Coding Style Reviewed">JavaScript Objects Coding Style Reviewed </a></li>
<li><a href="/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/" rel="bookmark" title="Friday Algorithms: Quicksort &#8211; Difference Between PHP and JavaScript">Friday Algorithms: Quicksort &#8211; Difference Between PHP and JavaScript </a></li>
<li><a href="/2010/08/11/quick-look-at-javascript-objects/" rel="bookmark" title="Quick Look at JavaScript Objects">Quick Look at JavaScript Objects </a></li>
<li><a href="/2010/02/24/storing-javascript-objects-in-html5-localstorage/" rel="bookmark" title="Storing JavaScript objects in html5 localStorage">Storing JavaScript objects in html5 localStorage </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>JavaScript vs. PHP</h2>
<p>Continuing from my <a title="PHP Arrays Coding Style" href="/2010/05/19/php-associative-arrays-coding-style/" target="_self">post</a> about PHP arrays coding style and following the comments of that post, I&#8217;d like to write a bit about JavaScript objects&#8217; coding style.</p>
<p>You perhaps know that the term object is quite undefined or under estimated in the JavaScript world, but I&#8217;d speak about the key/value pairs in JS commonly formatted like that:</p>
<pre lang="javascript">
var obj = { key : 'value' }
</pre>
<p>Here you can add more and more key/value pairs, but what&#8217;s different from the PHP associative arrays and what&#8217;s the same and should be cosidered.</p>
<h2>The Same as PHP?</h2>
<p>I wrote about the alignment in PHP and hashes. Than I showed how I align them:</p>
<pre lang="php">
$arr = array(
   'short'   => 'val',
   'longkey' => 'val'
);
</pre>
<p>In JavaScript you should use the same technique of alignment:</p>
<pre lang="php">
var obj = {
   'short'   : 'val',
   'longkey' : 'val'
};
</pre>
<h2>Some Differences</h2>
<p>Yes, there are more differences, which is normal. First of all you don&#8217;t have the =&gt; notation in JavaScript and a : is used. Second and most important you cannot add a trailing comma after the last key/value pair. Note that in PHP that&#8217;s fine!</p>
<pre lang="javascript">
// that will throw an error in MSIE
var obj = {
   'short'   : 'val',
   'longkey' : 'val',
};
</pre>
<p>while this is OK in PHP and it&#8217;s encouraged:</p>
<pre lang="php">
$arr = array(
   'short'   => 'val',
   'longkey' => 'val',
);
</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/12/03/javascript-objects-coding-style-reviewed/" rel="bookmark" title="JavaScript Objects Coding Style Reviewed">JavaScript Objects Coding Style Reviewed </a></li>
<li><a href="/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/" rel="bookmark" title="Friday Algorithms: Quicksort &#8211; Difference Between PHP and JavaScript">Friday Algorithms: Quicksort &#8211; Difference Between PHP and JavaScript </a></li>
<li><a href="/2010/08/11/quick-look-at-javascript-objects/" rel="bookmark" title="Quick Look at JavaScript Objects">Quick Look at JavaScript Objects </a></li>
<li><a href="/2010/02/24/storing-javascript-objects-in-html5-localstorage/" rel="bookmark" title="Storing JavaScript objects in html5 localStorage">Storing JavaScript objects in html5 localStorage </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/05/24/javascript-objects-coding-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Javascript Libraries Popularity</title>
		<link>/2010/03/12/javascript-libraries-popularity/</link>
		<comments>/2010/03/12/javascript-libraries-popularity/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 12:23:47 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Chris Coyier]]></category>
		<category><![CDATA[Computer programming]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Google Inc.]]></category>
		<category><![CDATA[JavaScript library]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[JS library]]></category>
		<category><![CDATA[Negation]]></category>
		<category><![CDATA[Polldaddy]]></category>
		<category><![CDATA[Robert Nyman]]></category>
		<category><![CDATA[Software engineering]]></category>

		<guid isPermaLink="false">/?p=1285</guid>
		<description><![CDATA[JavaScript and Market Share?! It&#8217;s kind of strange to speak about JavaScript libraries and market share, so lets called it &#8220;popularity&#8221;. Have you ever been interested on which is the most famous JS library. I&#8217;d guess everybody has the answer in his head, right? jQuery is becoming for the JS community something like Google for &#8230; <a href="/2010/03/12/javascript-libraries-popularity/" class="more-link">Continue reading <span class="screen-reader-text">Javascript Libraries Popularity</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/06/02/detecting-pressed-key-with-e-which-in-javascript/" rel="bookmark" title="Detecting Pressed Key with e.which in JavaScript">Detecting Pressed Key with e.which in JavaScript </a></li>
<li><a href="/2012/01/24/javascript-performance-for-vs-while/" rel="bookmark" title="JavaScript Performance: for vs. while">JavaScript Performance: for vs. while </a></li>
<li><a href="/2010/09/13/looping-animation-with-javascript-and-raphael/" rel="bookmark" title="Looping Animation with JavaScript and Raphaël">Looping Animation with JavaScript and Raphaël </a></li>
<li><a href="/2010/02/10/manage-javascript-and-css-includes-within-zend-framework-application/" rel="bookmark" title="Manage JavaScript and CSS includes within Zend Framework application">Manage JavaScript and CSS includes within Zend Framework application </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>JavaScript and Market Share?!</h2>
<p>It&#8217;s kind of strange to speak about JavaScript libraries and market share, so lets called it &#8220;popularity&#8221;. Have you ever been interested on which is the most famous JS library.</p>
<p>I&#8217;d guess everybody has the answer in his head, right? <a title="jQuery" href="http://jquery.com/" target="_blank">jQuery</a> is becoming for the JS community something like Google for the web or IE6 on the browser&#8217;s market in the beginning of the century. How odd?!</p>
<p>However here&#8217;s a short list of who&#8217;s first.</p>
<p>1. Robert Nyman&#8217;s poll:</p>
<p><a href="/wp-content/uploads/2010/03/Picture-1.png"><img class="aligncenter size-full wp-image-1286" title="Picture 1" src="/wp-content/uploads/2010/03/Picture-1.png" alt="" width="303" height="384" srcset="/wp-content/uploads/2010/03/Picture-1.png 303w, /wp-content/uploads/2010/03/Picture-1-236x300.png 236w" sizes="(max-width: 303px) 100vw, 303px" /></a></p>
<p><em><strong>Note:</strong> original poll page&#8217;s <a title="Poll: Which JavaScript Library Do You Use?" href="http://robertnyman.com/2009/06/08/poll-which-javascript-library-do-you-use/" target="_blank">here</a>.</em></p>
<p>Clear enough jQuery rocks. As I personally use jQuery I still think that its success is based on his easy to start nature. However lets see another result chart.</p>
<p>2. Chris Coyier from <a title="css tricks" href="http://css-tricks.com/" target="_blank">http://css-tricks.com/</a> is showing almost the same result:</p>
<p><a href="/wp-content/uploads/2010/03/Picture-2.png"><img class="aligncenter size-medium wp-image-1287" title="Picture 2" src="/wp-content/uploads/2010/03/Picture-2-300x182.png" alt="" width="300" height="182" srcset="/wp-content/uploads/2010/03/Picture-2-300x182.png 300w, /wp-content/uploads/2010/03/Picture-2.png 447w" sizes="(max-width: 300px) 100vw, 300px" /></a> <em><strong> </strong></em></p>
<p><em><strong>Note:</strong> original poll can be found <a title="JavaScript libraries" href="http://css-tricks.com/new-poll-what-is-your-javascript-library-of-choice/" target="_blank">here</a>.</em></p>
<p>3. Finally Polldaddy&#8217;s hosting a poll, where the results are even more interesting.</p>
<p><a href="/wp-content/uploads/2010/03/Picture-3.png"><img class="aligncenter size-medium wp-image-1288" title="Polldaddy" src="/wp-content/uploads/2010/03/Picture-3-300x243.png" alt="Polldaddy" width="300" height="243" srcset="/wp-content/uploads/2010/03/Picture-3-300x243.png 300w, /wp-content/uploads/2010/03/Picture-3.png 605w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="/wp-content/uploads/2010/03/Picture-3.png"></a><em><strong>Note:</strong> original <a title="Polldaddy" href="http://polldaddy.com/poll/2758379/?view=results" target="_blank">source</a> of the poll.</em></p>
<p>From these results I get more surprised not so much from the jQuery big advantage, but more from YUI. It&#8217;s a really very very powerful JavaScript library, perhaps misunderstood maybe because of it&#8217;s native complexity, don&#8217;t know?!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/06/02/detecting-pressed-key-with-e-which-in-javascript/" rel="bookmark" title="Detecting Pressed Key with e.which in JavaScript">Detecting Pressed Key with e.which in JavaScript </a></li>
<li><a href="/2012/01/24/javascript-performance-for-vs-while/" rel="bookmark" title="JavaScript Performance: for vs. while">JavaScript Performance: for vs. while </a></li>
<li><a href="/2010/09/13/looping-animation-with-javascript-and-raphael/" rel="bookmark" title="Looping Animation with JavaScript and Raphaël">Looping Animation with JavaScript and Raphaël </a></li>
<li><a href="/2010/02/10/manage-javascript-and-css-includes-within-zend-framework-application/" rel="bookmark" title="Manage JavaScript and CSS includes within Zend Framework application">Manage JavaScript and CSS includes within Zend Framework application </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/03/12/javascript-libraries-popularity/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
