Thread: embperl/wsh
View Single Post
  #10  
Old 11-14-2003, 01:14 PM
Eglin
Hill Giant
 
Join Date: Nov 2003
Posts: 168
Default

Yeah, Python is a _lot_ easier to integrate into apps. I like it a lot, too. In terms of capability, both languages are equivalent. Perl is, IMHO, probably a bit better at one-liners, but python is definately much much better with "real" data structures. Discounting that each language has some methods of running code in each other's language (as well as others), I'd say that Perl's a better choice for embedding just because of the sheer number of avaliable modules, scripts, and informational resources.

At any rate, I refreshed my pristine codebase from cvs and started writing code this morning. It is going surprisingly well, and I don't think it will take long to get a first revision implemented. I will keep you all posted.

p.s. - python is sensative to whitespace... that kind of fortran-like pickyness turns me off quite a bit. I think that I would recommend Ruby over all else, if not for the relative scarcity of enthusiastic supporters. If you are into oo, you will really like Ruby. It is tight without feeling restrictive. Lots of syntactical sugar, too.

p.s.s - the perfect language would have an anonymous global deque... Things like pattern-matches in a loop would automatically (or optionally) toss their results onto the deque. Makes syntax a little less than ideally clear, but such a huge timesaver. NQL is the only language I've seen that is even close to getting this right (sadly, NQL is not a "free" language.)
Reply With Quote