What's better about Ruby than Python?
jacek.generowicz at cern.ch
Fri Aug 22 11:14:17 CEST 2003
Alex Martelli <aleax at aleax.it> writes:
> Jacek Generowicz wrote:
> > For this reason it is rarely a good idea to define a macro for a
> > single use. However, it becomes an excellent idea if the idea the
> > macro expresses must be expressed repeatedly. The same is true of
> > functions, classes, modules ...
> Not at all. "Defining a function for a sinmgle use" is often a
> perfectly valid way to make a program MUCH CLEARER.
You are, of course, absolutely right.
However, I maintian that it is not _always_ a good idea. (eg Reductio
More information about the Python-list