[Python] 10 myths

Nicola Larosa nico a tekNico.net
Mer 25 Mar 2015 10:22:20 CET


Carlos Catucci wrote:
> puoi dichiarare le variabili in due modi differenti,
> di cui uno con il costrutto :=

L'operatore := combina dichiarazione (var) ed inizializzazione:

On declaring variables
<http://dave.cheney.net/2014/05/24/on-declaring-variables>

-- 
Nicola 'tekNico' Larosa <http://www.tekNico.net/>

Because of an unlikely combination of well-designed interface
types and the ability to upgrade to more efficient interfaces
when necessary, Go is able to serve files as efficiently as nginx
without your knowledge or cooperation. And that's fucking amazing.
 - Carl, 2014, http://avtok.com/2014/11/05/interface-upgrades.html


Maggiori informazioni sulla lista Python