Pratica di Shadowing: TypeScript in 100 Seconds - Impara a parlare inglese con i video

Creazione lezione...
1
TypeScript.
2
Validate your JavaScript ahead of time with static type checking.
3
JavaScript is a dynamic language where we can do all kinds of crazy things, like reference variables that don't exist or work with objects of an unknown shape.
4
The code is interpreted by a browser, but if your code is broken, you won't catch it until runtime when the browser throws an error.
5
TypeScript prevents errors like this from ever happening by extending JavaScript with types.
6
The language is a strict superset of JavaScript, which means when you open up a TS file, you can write plain JavaScript with all of its extra features being completely optional.
7
But notice in the code here how the IDE is providing feedback about using a variable that doesn't exist.
8
Instead of fixing this issue weeks later in a stack trace after the company has lost millions of dollars, we can fix it right here, right now.
9
The reason we get this instant feedback is because TypeScript behaves like a compiled language, where JavaScript is the compilation target.
10
You can run the TypeScript compiler using the tsc command.
11
It will take the ts file and and transpile it into vanilla JavaScript.
12
And you can choose any flavor of JavaScript you want if you need to target ancient browsers.
13
And that means you can use the latest
14
and greatest syntax features of JavaScript without having to worry if they'll be supported in an older environment.
15
Your TypeScript project will likely have a tsconfig file, which provides an infinite number of ways to customize the behavior of the compiler.
16
But the primary goal of TypeScript is to enable static typing.
17
One way it achieves that is by allowing you to annotate your code with types.
18
We can strongly type a variable using a colon followed by its type, like a string, boolean, or number.
19
That's known as an explicit type.
20
If we then try to assign its value as the wrong type, we get an error.
21
Alternatively, if we set an initial value, it will implicitly infer the type.
22
However, there may be cases where you want to opt out of this behavior, in which case you can annotate with the any type.
23
That allows you to loosely type or opt out of type checking.
24
When working with an array, use brackets to strongly type a list.
25
In addition, you can define your own custom types and interfaces, which is especially powerful when working with objects.
26
The car interface here defines various types of the properties on an object.
27
We can then apply the interface to a plain JavaScript object.
28
The beauty of having strongly typed code is that we get autocomplete everywhere in our IDE.
29
We don't have to jump back and forth to documentation
30
or dig through stack traces to figure out why our code's not working.
31
If you like TypeScript as much as I do, consider becoming a pro member at Fireship.io.
32
For the next few days, everything will be 40% off, including lifetime memberships.
33
Thanks for watching, and I will see you in the next one.

Vocabolario e note di pronuncia per questa lezione

Questa lezione di conversazione di livello C1 si basa sul video “TypeScript in 100 Seconds”. Le parole che ritornano più spesso: type, Javascript, Typescript, code, object. Questo video contiene 33 frasi e 515 parole da ripetere con lo shadowing. Il parlato dura 2:24. Chi parla va veloce, circa 215 parole al minuto: aspettati suoni legati e ridotti. Solo il 77% delle parole rientra nelle 3.000 più comuni dell’inglese, quindi il lessico è impegnativo.

Vocaboli chiave di questo video

Le 15 parole più avanzate del video, con pronuncia e significato:

ParolaPronunciaSignificato
annotate verbo/ˈæn.ə.teɪt/annotare, commentare
compiler sostantivo/kəmˈpaɪlɚ/compilatore
static aggettivo/ˈstæt.ɪk/statico
stack sostantivo/stæk/pila, bica
autocomplete sostantivocompletare automaticamente
compile verbo/kəmˈpaɪl/compilare, assemblare
customize verbo/ˈkʌs.tə.maɪ̯z/customizzare, personalizzare
implicitly avverbioimplicitamente
superset sostantivosovrainsieme
validate verbo/ˈvæl.ɪ.deɪt/validare
syntax sostantivo/ˈsɪn.tæks/sintassi
colon sostantivo/ˈkoʊ.lən/due punti
loosely avverbio/ˈluːsli/allentato
assign verbo/əˈsaɪn/assegnare, accantonare
interpret verbo/ɪnˈtɜː.pɹɪt/interpretare

I phrasal verb che sentirai

ParolaSignificato
figure out verboscoprire, rendersi conto
open up verboaprire

La grammatica di questo video

Le strutture che chi parla usa di più, con le parole esatte del video:

StrutturaNel video
Frasi condizionali if + frase, will/would + verbo — una condizione e il suo risultatoif your code is broken, you won't catch
Forma passiva be + participio passato — conta ciò che accade, non chi lo fais interpreted · be supported
Frasi relative who / which + frase — un’informazione in più su una persona o una cosaJavaScript, which means · interfaces, which is

Pronuncia a cui fare attenzione

Chi parla usa 5 contrazioni e forme ridotte, come don't, doesn't, they'll. Pronunciale nella forma breve, così come le senti.

  • I suoni “sh” e “zh”: compilation /ˌkɑm.pɪˈleɪ.ʃən/, optional /ˈɑp.ʃə.nəl/, documentation /ˌdɑkjəmɛnˈteɪʃən/
  • Parole lunghe — attenzione all’accento: alternatively /ɔlˈtɝ.nə.tɪv.li/, compilation /ˌkɑm.pɪˈleɪ.ʃən/, documentation /ˌdɑkjəmɛnˈteɪʃən/

I suoni difficili per chi parla italiano:

  • Consonante finale — senza aggiungere una vocale dopo: annotate /ˈæn.ə.teɪt/, static /ˈstæt.ɪk/, stack /stæk/, customize /ˈkʌs.tə.maɪ̯z/, validate /ˈvæl.ɪ.deɪt/
  • /æ/ — più aperta della “e”: annotate /ˈæn.ə.teɪt/, static /ˈstæt.ɪk/, stack /stæk/, validate /ˈvæl.ɪ.deɪt/, syntax /ˈsɪn.tæks/

Come esercitarsi con questo video

  1. Ascolta tutto il video una volta senza parlare e annota le parole che non conosci.
  2. Inizia a velocità 0,75×, fai shadowing frase per frase e torna alla velocità normale quando diventa facile.
  3. Registrati e confronta con l’originale, facendo attenzione a parole come annotate, compiler, static.

Cos'è la tecnica dello Shadowing?

Shadowing è una tecnica di apprendimento delle lingue supportata da studi scientifici, originariamente sviluppata per la formazione dei traduttori professionisti e resa popolare dal poliglotta Dr. Alexander Arguelles. Il metodo è semplice ma potente: ascolti un audio in inglese di madrelingua e lo ripeti immediatamente ad alta voce — come un'ombra che segue il parlante con un ritardo di solo 1–2 secondi. A differenza dell'ascolto passivo o degli esercizi di grammatica, lo shadowing costringe il tuo cervello e i muscoli della bocca a elaborare e riprodurre simultaneamente i modelli di discorso reale. La ricerca dimostra che migliora significativamente la precisione della pronuncia, l'intonazione, il ritmo, il discorso connesso, la comprensione dell'ascolto e la fluidità del parlato — rendendolo uno dei metodi più efficaci per la preparazione alla prova di speaking dell'IELTS e per la comunicazione reale in inglese.

Tecnica dello shadowing: leggi la guida completa passo dopo passo →