4 ms·
No, I just thought the way CoffeeScript handles it is pretty slick. I looked around, and it seems like proposals to add something like this to Python did come u
by nadaviv 13y ago
No, I just thought the way CoffeeScript handles it is pretty slick. I looked around, and it seems like proposals to add something like this to Python did come up [1] [2], but weren't very welcomed.
[1] https://mail.python.org/pipermail/python-dev/2005-July/054568.html https://mail.python.org/pipermail/python-dev/2005-July/05456...
[2] http://bytes.com/topic/python/answers/101594-__autoinit__-proposal-reducing-self-x-x-self-y-y-self-z-z-boilerplate-code http://bytes.com/topic/python/answers/101594-__autoinit__-pr...