[Corso Python3] vi ricordate quando vi dicevo che talvolta è meglio provare che testare?

alessandro medici alexxandro.medici a gmail.com
Gio 16 Giu 2016 00:00:49 CEST


EAFPEasier to ask for forgiveness than permission. This common Python
coding style assumes the existence of valid keys or attributes and catches
exceptions if the assumption proves false. This clean and fast style is
characterized by the presence of many try
<https://docs.python.org/3.6/reference/compound_stmts.html#try> and except
<https://docs.python.org/3.6/reference/compound_stmts.html#except> statements.
The technique contrasts with the LBYL
<https://docs.python.org/3.6/glossary.html#term-lbyl> style common to many
other languages such as C.
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.fsugpadova.org/pipermail/fsug-corso-python3/attachments/20160616/50425901/attachment.html>


Maggiori informazioni sulla lista fsug-corso-python3