<?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: In search of the best solution—speed and size</title>
	<atom:link href="http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/feed/" rel="self" type="application/rss+xml" />
	<link>http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/</link>
	<description>Jonnie is back to work.</description>
	<lastBuildDate>Tue, 16 Mar 2010 04:31:20 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jackson Dunstan</title>
		<link>http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/comment-page-1/#comment-750</link>
		<dc:creator>Jackson Dunstan</dc:creator>
		<pubDate>Thu, 22 Oct 2009 00:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://destroytoday.com/blog/?p=1357#comment-750</guid>
		<description>Thanks for the tips. I am, unfortunately, addicted to split keyboards. I will totally try out the Wacom pen idea though. There are plenty of artists around where I work to talk out of their pens. :-D</description>
		<content:encoded><![CDATA[<p>Thanks for the tips. I am, unfortunately, addicted to split keyboards. I will totally try out the Wacom pen idea though. There are plenty of artists around where I work to talk out of their pens. <img src='http://destroytoday.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonnie</title>
		<link>http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/comment-page-1/#comment-749</link>
		<dc:creator>Jonnie</dc:creator>
		<pubDate>Thu, 22 Oct 2009 00:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://destroytoday.com/blog/?p=1357#comment-749</guid>
		<description>@Jackson — I used to have that same left pinky pain when I used a PC keyboard, but now that I have the latest Apple slim keyboard, there&#039;s a lot less stress. You should try it out. 

Also, I use a Wacom pen (http://bit.ly/u3TqK) and keep it tucked with my left thumb when typing. I can still type with that thumb, so it works out well—flip up the pen when I need to use the mouse. The trick is mapping the pen as a mouse, so you &quot;flick&quot; the cursor around the screen rather than mirroring it.

I&#039;m hesitant to lose the sigils, since they make it so easy to identify temporary vars, but I see your point :) Also, I tried out your solution and it actually is faster than the array with indexOf.</description>
		<content:encoded><![CDATA[<p>@Jackson — I used to have that same left pinky pain when I used a PC keyboard, but now that I have the latest Apple slim keyboard, there&#8217;s a lot less stress. You should try it out. </p>
<p>Also, I use a Wacom pen (<a href="http://bit.ly/u3TqK" rel="nofollow">http://bit.ly/u3TqK</a>) and keep it tucked with my left thumb when typing. I can still type with that thumb, so it works out well—flip up the pen when I need to use the mouse. The trick is mapping the pen as a mouse, so you &#8220;flick&#8221; the cursor around the screen rather than mirroring it.</p>
<p>I&#8217;m hesitant to lose the sigils, since they make it so easy to identify temporary vars, but I see your point <img src='http://destroytoday.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Also, I tried out your solution and it actually is faster than the array with indexOf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackson Dunstan</title>
		<link>http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/comment-page-1/#comment-748</link>
		<dc:creator>Jackson Dunstan</dc:creator>
		<pubDate>Wed, 21 Oct 2009 23:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://destroytoday.com/blog/?p=1357#comment-748</guid>
		<description>I think about this very frequently. I often code AS3 more than 50 hours a week and it is physically tiring to me after 12 hours or so. I start to notice pain points like the left pinky finger from hitting and holding the shift key so often. This leads me to capitalize less and loathe C++/C#-style CapitalizedFunctionNames and CapitalizedVariableNames. I don&#039;t take it to extremes and lower-case everything, of course, but exercises like you have written about here are common for me. As for your example, I have two suggestions:

1) Drop the sigils and save a character ;-)
2) if ($string in {Jonnie:1, loves:1, Subway:1, Cookies:1})

Obviously you could use whatever you want instead of the value 1 for that technique. I recommend something easy for you to hit. It will be slow like your Array example, but it&#039;s exactly the same number of characters as your ideal example from SQL and Python.

I look forward to anything more you have to write about reducing the typing load. In the meantime, here is a search on my site for anything I&#039;ve written about &quot;tying&quot;:

http://jacksondunstan.com/?s=typing

Thanks for writing this!</description>
		<content:encoded><![CDATA[<p>I think about this very frequently. I often code AS3 more than 50 hours a week and it is physically tiring to me after 12 hours or so. I start to notice pain points like the left pinky finger from hitting and holding the shift key so often. This leads me to capitalize less and loathe C++/C#-style CapitalizedFunctionNames and CapitalizedVariableNames. I don&#8217;t take it to extremes and lower-case everything, of course, but exercises like you have written about here are common for me. As for your example, I have two suggestions:</p>
<p>1) Drop the sigils and save a character <img src='http://destroytoday.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
2) if ($string in {Jonnie:1, loves:1, Subway:1, Cookies:1})</p>
<p>Obviously you could use whatever you want instead of the value 1 for that technique. I recommend something easy for you to hit. It will be slow like your Array example, but it&#8217;s exactly the same number of characters as your ideal example from SQL and Python.</p>
<p>I look forward to anything more you have to write about reducing the typing load. In the meantime, here is a search on my site for anything I&#8217;ve written about &#8220;tying&#8221;:</p>
<p><a href="http://jacksondunstan.com/?s=typing" rel="nofollow">http://jacksondunstan.com/?s=typing</a></p>
<p>Thanks for writing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Pietz</title>
		<link>http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/comment-page-1/#comment-747</link>
		<dc:creator>Matthew Pietz</dc:creator>
		<pubDate>Wed, 21 Oct 2009 22:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://destroytoday.com/blog/?p=1357#comment-747</guid>
		<description>Subway cookies are scrumptious.

Also, I enjoy storing certain types of data in an SQL database for the exact purpose you stated. `IN` is so valuable but so rarely used (or maybe known) by programmers.</description>
		<content:encoded><![CDATA[<p>Subway cookies are scrumptious.</p>
<p>Also, I enjoy storing certain types of data in an SQL database for the exact purpose you stated. `IN` is so valuable but so rarely used (or maybe known) by programmers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Kerry</title>
		<link>http://destroytoday.com/blog/2009/10/in-search-of-the-best-solution%e2%80%94speed-and-size/comment-page-1/#comment-746</link>
		<dc:creator>David Kerry</dc:creator>
		<pubDate>Wed, 21 Oct 2009 22:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://destroytoday.com/blog/?p=1357#comment-746</guid>
		<description>It really is refreshing to see a developer working hard on optimisation rather than simply cramming in more features than really necessary to applications with no concern for real-world usability. If only all developers thought the way you do, the world would be a happier, snappier place, and no doubt, there would be more cookies for all.</description>
		<content:encoded><![CDATA[<p>It really is refreshing to see a developer working hard on optimisation rather than simply cramming in more features than really necessary to applications with no concern for real-world usability. If only all developers thought the way you do, the world would be a happier, snappier place, and no doubt, there would be more cookies for all.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
