Marco Beri wrote: > Anche se usate Python 2, nulla vi preclude dall'usare queste > convenzioni: > > http://python-future.org/compatible_idioms.html > > Usarle vi potrà risparmiare molto tempo in un futuro più o meno remoto > (a voi o a qualcuno che vi penserà così con molto più affetto).
Decisamente. Per esplicitare, queste convenzioni vi permetteranno di portare il vostro programma da Python 2 a Python 3 con poco sforzo, preferibilmente usando la libreria Future di cui fanno parte. :-) -- Nicola 'tekNico' Larosa <http://www.tekNico.net/> The major benefit of working outside-in is having the requirement challenged: if you need to explain to a computer how to check the requirement, you'll need to be damn sure you understand it yourself. If you don't (and you often don't) it's much cheaper to find that out before you write the code. - Matt Wynne, November 2012 _______________________________________________ Python mailing list [email protected] http://lists.python.it/mailman/listinfo/python
