On Sun, Jul 31, 2016 at 5:47 AM Sivan Greenberg <si...@vitakka.co> wrote:

> That's exactly the answer I was looking for. Thanks.
>
> I got used too much I guess to solving problems the OOP way, e.g. my code
> wraps the session.get invocation with a class to pack together the
> arguments and data and also took care of parallelism using gevent, from
> within the class.
>
> While a bit more verbose (or god forbid..unpythonic?) I find it much nore
> readable in my taste and easier to pass on to the next code maintainer in
> the heritage.
>

You might benefit from watching the talk "Stop Writing Classes"
https://www.youtube.com/watch?v=o9pEzgHorH0
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to