<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3718956085911858962.post8071368015530746455..comments</id><updated>2007-09-23T18:27:27.535+05:30</updated><title type='text'>Comments on Electric Sheep Blog: Object Oriented and Functional: Is there a middle ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.sidu.in/feeds/8071368015530746455/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html'/><author><name>Sidu</name><uri>http://www.blogger.com/profile/11938300811286150164</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-7925546209259096081</id><published>2007-09-23T18:27:00.000+05:30</published><updated>2007-09-23T18:27:00.000+05:30</updated><title type='text'>There are more options Like: Mainsoft Cross Platfo...</title><content type='html'>There are more options Like: &lt;A HREF="http://www.mainsoft.com" REL="nofollow"&gt;Mainsoft Cross Platform Development&lt;/A&gt;.&lt;BR/&gt;This is .NET to Java Cross Platform Development.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default/7925546209259096081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default/7925546209259096081'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html?showComment=1190552220000#c7925546209259096081' title=''/><author><name>seology</name><uri>http://www.blogger.com/profile/08005830338295584081</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-8071368015530746455' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/8071368015530746455' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-5000964126594987425</id><published>2007-06-27T11:03:00.000+05:30</published><updated>2007-06-27T11:03:00.000+05:30</updated><title type='text'>If you're serious about functional programming, it...</title><content type='html'>If you're serious about functional programming, it might make sense to constrain yourself to one while learning about it. Try Erlang or Haskell.&lt;BR/&gt;&lt;BR/&gt;Scala is pretty sweet too, with it's mix of functional and OO models. It runs on the JVM, which AFAIC is a major plus.&lt;BR/&gt;&lt;BR/&gt;Read my &lt;A HREF="http://azaidi.blogspot.com/2007/04/zen-and-art-of-functional-programming.html" REL="nofollow"&gt;blog post&lt;/A&gt; if you want (yes! another hit on my  blog! :-). BTW, there should be one coming on Scala soon.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default/5000964126594987425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default/5000964126594987425'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html?showComment=1182922380000#c5000964126594987425' title=''/><author><name>Arsalan Zaidi</name><uri>http://www.blogger.com/profile/03116662629864832986</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-8071368015530746455' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/8071368015530746455' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-6562908331956349948</id><published>2007-02-22T02:46:00.000+05:30</published><updated>2007-02-22T02:46:00.000+05:30</updated><title type='text'>1) In a ProcFactory?2) My answer to any test-relat...</title><content type='html'>1) In a ProcFactory?&lt;BR/&gt;&lt;BR/&gt;2) My answer to any test-related question these days seems to be: Mocks.  State-based testing on Procs seems problematic .. edge cases and whatnot.  To test the example from ruby docs I'd do something like:&lt;BR/&gt;&lt;BR/&gt;require 'test/unit'&lt;BR/&gt;require 'rubygems'&lt;BR/&gt;require 'mocha'&lt;BR/&gt;&lt;BR/&gt;def gen_times(factor)&lt;BR/&gt;  return Proc.new {|n| n*factor }&lt;BR/&gt;end&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;class ProcTestCase &lt; Test::Unit::TestCase&lt;BR/&gt;  def test_proc&lt;BR/&gt;     multiplier = 3&lt;BR/&gt;     input = mock()   #=&gt; would be Fixnum 12&lt;BR/&gt;     input.expects(:*).with(multiplier).returns(36)&lt;BR/&gt;     times3 = gen_times(multiplier)&lt;BR/&gt;     output = times3.call(input)              #=&gt; 36&lt;BR/&gt;     assert_equal(output, 36)&lt;BR/&gt;  end&lt;BR/&gt;end</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default/6562908331956349948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/8071368015530746455/comments/default/6562908331956349948'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html?showComment=1172092560000#c6562908331956349948' title=''/><author><name>Tim Greiser</name><uri>http://www.blogger.com/profile/01804286407687633517</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2007/02/object-oriented-and-functional-is-there.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-8071368015530746455' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/8071368015530746455' type='text/html'/></entry></feed>