3 ms·
i'd agree with this, except you can have a function within a function in Python to limit scope and keep it local. yeah, you have to define it before the code us
by guitarbill 7y ago
i'd agree with this, except you can have a function within a function in Python to limit scope and keep it local. yeah, you have to define it before the code using it - sometimes this feels like a boon though, especially compared to huge inline lambdas. so over time, my annoyance with this has decreased, and it doesn't bother me anymore.