Python is not bad ;-)

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri May 1 03:03:50 EDT 2015


On 2015年4月30日 09:30 pm, Cecil Westerhof wrote:
> Tail recursion would nice to have also.

People coming from functional languages like Lisp and Haskell often say
that, but how many recursive algorithms naturally take a tail-call form?
Not that many.
I suppose that it would be nice if Python let you optionally use tail-call
optimization, but that might be tricky in practice.
-- 
Steven


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /