About

I am a software developer in Seattle, building a new AI software company.

Ads

April 2009

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Categories

Ads


« WinFS Namespace Naming Conventions | Main | Introspection and Reflection »

May 20, 2004

Comments

Sorry, but Perl reads like geek code. The point of modern languages is to be human-readable and maintainable. This is my impression of Perl which I use all the time, much to my chagrin, as opposed to well-written C++:


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GED/J d-- s:++>: a-- C++(++++) ULU++ P+ L++ E---- W+(-) N+++ o+ K+++ w---
O- M+ V-- PS++>$ PE++>$ Y++ PGP++ t- 5+++ X++ R+++>$ tv+ b+ DI+++ D+++
G+++++ e++ h r-- y++**
------END GEEK CODE BLOCK------

You're right, Ruby borrows more from Perl, and might be an easier transition for you, but Python has the best readability and the largest number of 3rd party libraries and interfaces.

I currently use and like Python, but sometimes when trying to design frameworks for others to use, I wish it had some of the power and flexibility that Ruby has, instead of having to mess around with metaclasses. But that doesn't sound like the kind of stuff you will be using it for.

What about scripting facilities of .NET? Do they (JScript.net or vb.net) not provide enough functionality? What about dynamic code (dynamic assemblies)? Is it not good enough for you needs?

well python has been around for more than ten years, and ruby just hit ten recently :)

I'd say: take a little script, translate it to both and check what feels the best, like michael tsai did. And check for trackbacks :)

forgot to say: "code generation in action", a nice book from manning makes large use of ruby, it may be of interest to you.

I have been lurking on both languages for a while. I like Ruby's syntax better, but think Python has better Windows support.

You might want to check out Groovy here:
http://www.codehaus.org

Let us know what you think....

Regards,

Oswald

Groovy looks interesting, but it seems to tied with Java. My interests are with the .NET platform. Also, I don't require or necessarily favor that the syntax match closely with C# or Java.

C# and Java are too verbose for a scripting language. Both Ruby and Perl already adopt the expression syntax of the C-based languages; that alone is enough similarity for me. It would be nice to have direct access to .NET, but I think there will be eventual ports to that platform. For now, I can still use the COM support available in all 3 languages and .NET interoperability to my .NET libraries.

The comments to this entry are closed.