<?xml version="1.0"?>
<rss version="2.0">
<channel>

  
  
<title>The Kitchen in the Zoo - Responses</title>
<link>http://blog.maxant.co.uk:80/pebble/</link>
<description>&lt;small&gt;A blog where Ant writes about anything he finds interesting! &lt;a href=&#039;http://www.linkedin.com/in/maxant&#039;&gt;&lt;font color=&#039;white&#039;&gt;Who is Ant?&lt;/font&gt;&lt;/a&gt;      &lt;a href=&#039;/pebble/pages/copyright.html&#039;&gt;&lt;font color=&#039;white&#039;&gt;Copyright 2005-2013 Ant Kutschera&lt;/font&gt;&lt;/a&gt;&lt;/small&gt;</description>
<language>en</language>
<managingEditor>Ant Kutschera</managingEditor>
<lastBuildDate>Fri, 03 May 2013 04:08:45 GMT</lastBuildDate>
  

  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Let&#039;s get the hype straight</title>
    <link>http://blog.maxant.co.uk:80/pebble/2011/05/22/1306092969466.html#comment1367554125139</link>
    <description>
      I don&#039;t like hypes, and the fan boys that go with it. And so here I will attempt to get the hype out of the fan boys, if they dare to read the next paragraphs.

Node.js is a runtime for Javascript, like Adobe Air is for Actionscript, like the JVM for Java. Every language and its runtime go through the same evolution, where they become more mature: optimized, faster, and have more 3rd party packages. Node.js is now just going through the same evolution the JVM had many many years ago. In time, it will be head-to-head with the JVM, possibly outperforms it in specific routines and trails in others. However, to think that node.js will significantly outperform the JVM, and make the choice of technology based on that, is not wise.

Given comparably fast runtimes, the choice of whether to write your program in Javascript or in Java, really is about programming language rather than performance. A hand-coded ultra-optimized NIO implementation in Node will perform comparably with one in Java, because they both will translate to roughly the same underlying system routines being called. If one significantly under-performs another, just means it&#039;s not ultra-optimized yet.

In the end, it&#039;s about whether you want loose-typing, closure, and prototype or you want uber-strict OOP. Javascript is surely shorter and easier to write; but the uber-strictness of Java is intentional. Strictness allows you to enforce paradigms and patterns, which is especially important in very large applications. Java has tons of enterprise experience; Javascript has a lot to prove itself.

In summary, node.js simply allows Javascript to be an alternative to full-fledged programming languages for writing any kind of application, that&#039;s all.
    </description>
    <author>Johnny</author>
    <comments>http://blog.maxant.co.uk:80/pebble/2011/05/22/1306092969466.html#comments</comments>
    <guid isPermaLink="true">http://blog.maxant.co.uk:80/pebble/2011/05/22/1306092969466.html#comment1367554125139</guid>
    <pubDate>Fri, 03 May 2013 04:08:45 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: A really simple but powerful rule engine</title>
    <link>http://blog.maxant.co.uk:80/pebble/2011/11/12/1321129560000.html#comment1366635977781</link>
    <description>
      Great, thank you so much! It works

I added a List to the input object and am evaluating the &amp;quot;contains&amp;quot; in the rule like below.
 
Rule wageUnitHour = new Rule(&amp;quot;prewailingWageUnit&amp;quot;, &amp;quot;input.wageUnitsHour contains input.wageUnit &amp;quot; , &amp;quot;HOUR&amp;quot;,3, &amp;quot;com.rules.wage.unit&amp;quot;, null);

    </description>
    <author>Anonymous</author>
    <comments>http://blog.maxant.co.uk:80/pebble/2011/11/12/1321129560000.html#comments</comments>
    <guid isPermaLink="true">http://blog.maxant.co.uk:80/pebble/2011/11/12/1321129560000.html#comment1366635977781</guid>
    <pubDate>Mon, 22 Apr 2013 13:06:17 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: A really simple but powerful rule engine</title>
    <link>http://blog.maxant.co.uk:80/pebble/2011/11/12/1321129560000.html#comment1366623647300</link>
    <description>
      Try adding two fields to the input object: wageUnit and wageUnitsHour (which is your arraylist).  Then a rule like this might work: &amp;quot;if(input.wageUnitsHour.contains(input.wageUnit))&amp;quot;.  Alternatively, can you build the list inside the rule?
    </description>
    <author>Ant Kutschera</author>
    <comments>http://blog.maxant.co.uk:80/pebble/2011/11/12/1321129560000.html#comments</comments>
    <guid isPermaLink="true">http://blog.maxant.co.uk:80/pebble/2011/11/12/1321129560000.html#comment1366623647300</guid>
    <pubDate>Mon, 22 Apr 2013 09:40:47 GMT</pubDate>
  </item>
  
  </channel>
</rss>
