Che si intende per block scoping? Vi riporto il testo del sorgente in cui ho trovato il termine:
---
I could have left them declared in the first if block that used them, since AS3 does not do block scoping, but I like to write code as though AS3 does block scoping since I find it makes the code less confusing, plus many languages do block scoping, so coding as though it exists avoids bad habits
un mio tentativo di traduzione:
--
vrei potuto lasciarle dichiarate nel primo blocco if che le usa, dato che AS3 non fa block scoping, ma mi piace scrivere codice come se AS3 facesse block scoping siccome l'ho trovato rendere il codice meno confuso, in più molti linguaggi fanno block scoping, e poi così facendo si evitano cattive abitudini
---
I could have left them declared in the first if block that used them, since AS3 does not do block scoping, but I like to write code as though AS3 does block scoping since I find it makes the code less confusing, plus many languages do block scoping, so coding as though it exists avoids bad habits
un mio tentativo di traduzione:
--
vrei potuto lasciarle dichiarate nel primo blocco if che le usa, dato che AS3 non fa block scoping, ma mi piace scrivere codice come se AS3 facesse block scoping siccome l'ho trovato rendere il codice meno confuso, in più molti linguaggi fanno block scoping, e poi così facendo si evitano cattive abitudini
Last edited by a moderator: