<?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>Werx Limited &#187; debugging</title> <atom:link href="http://werxltd.com/wp/tag/debugging/feed/" rel="self" type="application/rss+xml" /><link>http://werxltd.com/wp</link> <description>We make IT work.</description> <lastBuildDate>Mon, 23 Jan 2012 23:03:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>High Level Languages</title><link>http://werxltd.com/wp/2010/09/21/high-level-languages/</link> <comments>http://werxltd.com/wp/2010/09/21/high-level-languages/#comments</comments> <pubDate>Tue, 21 Sep 2010 12:00:10 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[general]]></category> <category><![CDATA[software development]]></category> <category><![CDATA[debugging]]></category> <category><![CDATA[design]]></category> <category><![CDATA[high level languages]]></category> <category><![CDATA[software design]]></category> <category><![CDATA[strategy]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=687</guid> <description><![CDATA[High-level language. The chief reasons for using a high-level language are productivity and debugging speed. We have discussed productivity earlier (Chapter 8). There is not a lot of numerical evidence, but what there is suggests improvement by integral factors, not just incremental percentages. The debugging improvement comes from the fact that there are fewer bugs, and [...]]]></description> <content:encoded><![CDATA[<blockquote><p><strong>High-level language.</strong> The chief reasons for using a high-level language are productivity and debugging speed. We have discussed productivity earlier (Chapter 8). There is not a lot of numerical evidence, but what there is suggests improvement by integral factors, not just incremental percentages.</p><p>The debugging improvement comes from the fact that there are fewer bugs, and they are easier to find. There are fewer because one avoids an entire level of exposure to error, a level on which one makes not only syntactic errors but semantic ones, such as misusing registers. The bugs are easier to find because the compiler diagnostics help find them and, more important, because it is very easy to insert debugging snapshots.</p><p>For me, these productivity and debugging reasons are overwhelming. I cannot easily conceive of a programming system I would build in assembly language.</p><p>Well, what about the classical objections to such a tool? There are three: It doesn&#8217;t let me do what I want. The object code is too big. The object code is too slow.</p><p>As to function, I believe the objection is no longer valid. All testimony indicates that one can do what he needs to do, but that it takes work to find out how, and one may occasionally need unlovely artifices.</p><p>As to space, the new optimizing compilers are beginning to be very satisfactory, and this improvement will continue.</p><p>As to speed, optimizing compilers now produce some code that is faster than most programmer&#8217;s handwritten code, Furthermore, one can usually solve speed problems by replacing from one to five percent of a compiler-generated program by handwritten substitute after the former is fully debugged.</p><p><em>Fred Brooks, The Mythical Man-Month, pg. 135</em></p></blockquote><div
class="betterrelated none"><p>No related content found.</p></div><p><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;count=none&amp;text=High%20Level%20Languages" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;count=none&amp;text=High%20Level%20Languages" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;linkname=High%20Level%20Languages" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F09%2F21%2Fhigh-level-languages%2F&amp;title=High%20Level%20Languages" id="wpa2a_2">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2010/09/21/high-level-languages/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Console.log is your friend</title><link>http://werxltd.com/wp/2009/05/28/consolelog-is-your-friend/</link> <comments>http://werxltd.com/wp/2009/05/28/consolelog-is-your-friend/#comments</comments> <pubDate>Thu, 28 May 2009 17:18:31 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[software development]]></category> <category><![CDATA[debugging]]></category> <category><![CDATA[javascript]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=31</guid> <description><![CDATA[Although it only works in Chrome and FireBug, I&#8217;ve found console.log() to be an extremely handy tool for debugging javascript without having to step through code. Here&#8217;s a bit of code I&#8217;ve found handy to make sure browsers without console.log don&#8217;t bomb out in case you forget to take your console.log statements out: if (window.console [...]]]></description> <content:encoded><![CDATA[<p>Although it only works in <a
href="http://www.google.com/chrome">Chrome</a> and <a
href="http://getfirebug.com/">FireBug</a>, I&#8217;ve found <a
href="http://getfirebug.com/console.html">console.log()</a> to be an extremely handy tool for debugging javascript without having to step through code.</p><p>Here&#8217;s a bit of code I&#8217;ve found handy to make sure browsers without console.log don&#8217;t bomb out in case you forget to take your console.log statements out:</p><pre class="brush:javascript">if (window.console == undefined) { window.console = {log:function(){},dir:function(){}}; }</pre><p>Make sure to add this near the top of your scripts and you&#8217;ll be able to use console.log without fear of it causing problems in browsers like IE.</p><div
class="betterrelated none"><p>No related content found.</p></div><p><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;count=none&amp;text=Console.log%20is%20your%20friend" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;count=none&amp;text=Console.log%20is%20your%20friend" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;linkname=Console.log%20is%20your%20friend" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F05%2F28%2Fconsolelog-is-your-friend%2F&amp;title=Console.log%20is%20your%20friend" id="wpa2a_4">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2009/05/28/consolelog-is-your-friend/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 2/14 queries in 0.035 seconds using apc
Object Caching 401/421 objects using apc

Served from: werxltd.com @ 2012-02-05 03:13:05 -->
