Sunday, August 20, 2006

One thing I'd change about python

I think python is a nice enough language, but the lack of proper lexical scoping drives me nuts! Also, the generator concept almost works, but when you want to do a non-local yield, it's just not possible. For example, if your generator has a helper function that wants to yield, control flows back to your generator instead of to the code calling your generator!

0 Comments:

Post a Comment

<< Home