<div dir="ltr">Ciao Lista,<div><br></div><div>vedo che non è ancora passata in lista la notizia che è uscita la beta di Python 3.6.<br></div><div><br></div><div><a href="http://blog.python.org/2016/11/python-360-beta-4-is-now-available.html">http://blog.python.org/2016/11/python-360-beta-4-is-now-available.html</a></div><div><a href="https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-0-beta-4">https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-0-beta-4</a><br></div><div><br></div><div><br></div><div>Ad aprile terrò un corso interno su python per i miei colleghi, ed ero intenzionato a presentare python3 (3.6 possibilmente), sono incappato nel seguente post:</div><div><br></div><div><a href="https://learnpythonthehardway.org/book/nopython3.html">https://learnpythonthehardway.org/book/nopython3.html</a><br></div><div><br></div><div>che ha una posizione piuttosto critica sull'insegnamento di python3... :-)</div><div>Giusto per darvi un'idea dice:</div><div><i><br></i></div><div><i>"I cannot teach Python 3 to total beginners because I don't want them to think they "suck at programming" when really it's Python 3's fault. That's simply not fair to them, so I have to teach Python 2 so they have the best chance at learning to code.</i></div><div><i>[...]</i></div><div><i>If you learn Python 2, then you can still work with all the legacy Python 2 code in existence until Python dies or you (hopefully) move on. But if you learn Python 3 then your future is very uncertain. You could really be learning a dead language and end up having to learn Python 2 anyway."</i></div><div><br></div><div>Voi come la vedete?</div><div><br></div><div>Personalmente non condivido molte delle sue argomentazioni, però condivido la perplessità che con python 3.6 avremo ben tre modi diversi di fare lo string formatting. In genere tendo ad usare il vecchio %s etc, perchè più veloce... certo le f-string sembrano comode... però questi tre differenti modi per fare la stessa cosa sicuramente confondono chi inizia il linguaggio.</div><div><br></div><div>Buona giornata</div><div><br></div><div>Pietro</div></div>