tag:blogger.com,1999:blog-11788780.post6893241341044466660..comments2023-12-29T13:22:33.104-08:00Comments on JJinuxLand: Computer Science: Prototypal Match Templatesjjinuxhttp://www.blogger.com/profile/03270879497119114175noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11788780.post-37032777480698182242007-11-07T01:30:00.000-08:002007-11-07T01:30:00.000-08:00Ryan,Thanks for the Scala plug. I've used the wor...Ryan,<BR/><BR/>Thanks for the Scala plug. I've used the words "actor" and "Scala" twice today while talking about concurrency, but I haven't gotten around to learning Scala. Thanks for the tip :)<BR/><BR/>To be fair, my prototypal match templates still sound very different than Scala.<BR/><BR/>Best Regards,<BR/>-jjjjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-53482219115624179402007-11-06T22:12:00.000-08:002007-11-06T22:12:00.000-08:00It is surprising that you haven't heard of one of ...It is surprising that you haven't heard of one of the greatest obscure languages:<BR/>Scala www.scala-lang.org/<BR/>It is exactly what you want. It is a purely OOP language. It is a purely functional language. Scala fused them into the same elegant thing. All functions are values, all values are objects. This fusion enabled Scala to do Actor Model concurrency (like erlang or stackless) in a library, without having to fork the compiler or some such nonsense. It supports pattern matching and functional programming like haskell but with all the productivity and reflection of ruby or python, So you can match on the types and blocks of code if you like, for free. The coolest thing is that although it writes like python, it is statically compiled and type-checked and is fully compatible with all Java and .Net libraries and runtime environments. So you have RAD code with more elegant expressive power than python or haskell, but it is enterprise ready. Spread the word and the love.<BR/>~RyanRyan Braleyhttps://www.blogger.com/profile/10737306213257698144noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-79972781772920910792007-09-12T18:39:00.000-07:002007-09-12T18:39:00.000-07:00> Generic Functions from pyProtocols come to mind....> Generic Functions from pyProtocols come to mind.<BR/><BR/>I can see why. They have a match mechanism. That's not so different than the match mechanism in languages like Haskell. However, I think doing matches on the syntax tree of the code itself rather than on the incoming data is interesting.jjinuxhttps://www.blogger.com/profile/03270879497119114175noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-72386550347762864422007-09-12T17:43:00.000-07:002007-09-12T17:43:00.000-07:00Generic Functions from pyProtocols come to mind.Generic Functions from pyProtocols come to mind.S.B.https://www.blogger.com/profile/11384194549903394702noreply@blogger.comtag:blogger.com,1999:blog-11788780.post-12771947913383754042007-09-12T16:08:00.000-07:002007-09-12T16:08:00.000-07:00You definitely came up with one of the best descri...You definitely came up with one of the best descriptions of the benefits of match templates in Genshi I've seen so far… I personally always have trouble expressing this aspect :PAnonymousnoreply@blogger.com