What's better about Ruby than Python?

Borcis borcis at users.ch
Thu Aug 21 04:18:47 EDT 2003


Joshua Marshall wrote:
> Alex Martelli <aleax at aleax.it> wrote:
> ...
> 
> 
>>But with try/finally, or hopefully some syntax tweak making
>>try/finally semantics even easier to use, this is a kind of idiom
>>that's gonna stay.
> 
> 
> What sort of syntax tweak?

Some sort of macro, I guess <ducking for cover>. BTW, what about
using macros not to create new variants but to express idiomatic
transforms between similar languages, ie bilingual macros that
would allow to manipulate what's really eg javascript or ruby
code with eg python-mode.el (or conversely) ?





More information about the Python-list mailing list