{"id":40,"date":"2009-11-01T21:25:52","date_gmt":"2009-11-02T03:25:52","guid":{"rendered":"http:\/\/tiemensfamily.com\/TimOnCS\/?p=40"},"modified":"2009-11-01T21:25:52","modified_gmt":"2009-11-02T03:25:52","slug":"scala-research","status":"publish","type":"post","link":"https:\/\/tiemensfamily.com\/timoncs\/2009\/11\/01\/scala-research\/","title":{"rendered":"Scala Research"},"content":{"rendered":"<p>I just read about Scala for a few hours.  Mainly from <a href=\"http:\/\/www.scala-lang.org\/node\/960\">Java to Scala with the Help of Experts<\/a> under the sections &#8220;Scala for Java Refugees&#8221; and &#8220;The busy Java developer\u2019s guide to Scala&#8221;.<\/p>\n<p>My first take-away is &#8220;Good Luck With That&#8221;.  Where &#8220;That&#8221; is code like this: (based on <a href=\"http:\/\/www.ibm.com\/developerworks\/java\/library\/j-scala03268.html\">Listing 9<\/a>)<\/p>\n<pre>def main(args : Array[String])\n  {\n    tryToFigureThisOut     \/\/ \"This is not part of the language\"\n    {\n      thisMethodThrowsExceptions_GoodLuck\n    }\n  }<\/pre>\n<p>It reminds me of this [invalid but representational] c code:<\/p>\n<pre>#define while(j,k) printf(j,k); fflush(stdout);\n#define F for(r=d;r&lt;n+N;\nF++r)*r=c;\nwhile (--y, --x);\n<\/pre>\n<p>My second take-away is that Scala is a nice spoiler for Ruby &#8211; I can see people who are drawn to the wild world of Ruby settling for Scala instead.  It is crazy enough to scratch the itch, but backwards-compatible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just read about Scala for a few hours. Mainly from Java to Scala with the Help of Experts under the sections &#8220;Scala for Java Refugees&#8221; and &#8220;The busy Java developer\u2019s guide to Scala&#8221;. My first take-away is &#8220;Good Luck &hellip; <a href=\"https:\/\/tiemensfamily.com\/timoncs\/2009\/11\/01\/scala-research\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts\/40"}],"collection":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":0,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}