On Nov 6, 2006, at 11:28 AM, Bill Bumgarner wrote:
On Nov 6, 2006, at 10:43 AM, Alexander Ross wrote:
I think it is a testament to the power of both Python and Ruby that they are so easily melded into a working PyMate.
First -- Alex: Thank you. Repeat: THANK YOU! Your work fixes an output bug that was messing with my world.
Yes, but this program could be written in any language and it would function in the exactly the same way. pymate.rb doesn't actually know anything about Python. It just runs the python source through cpython, and pipes the output back.
But you're right, they are basically the same. I think Ruby is a little more handy for quick shell scripts… It's nice to not have to `from os import environ` to get at the env. also, you can just `echo 'write shell commands'` and get strings back. that's pretty neato.
But don't get me wrong, I love python! :)
Now, tongue in cheek: I find it to be more of a testament that the two languages are pretty much identical in all but syntax ;-)
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate