跟讀練習: TypeScript in 100 Seconds - 通過影片學習英語口語

選擇練習模式

每種模式都會開啟全屏練習室。

33 句
如果句子過短或過長,請點選 Edit 進行調整。
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.

下載應用

流利口語所需的一切

AI 發音評分逐句打分
音標練習掌握每個音
詞彙學習建立你的詞庫
詞彙遊戲邊玩邊學

同頻道

FOR YOU

推薦影片

本課的詞彙與口語要點

這節 C1 級別的口語課以影片“TypeScript in 100 Seconds”為素材。 影片中反覆出現的詞有:type, Javascript, Typescript, code, object。 這段影片共有 33 個句子、515 個單詞可供跟讀。 講話部分時長為 2:24。 說話人語速較快,每分鐘約 215 個詞,會出現較多連讀和弱讀。 只有 77% 的單詞屬於英語最常用的 3,000 詞,詞彙難度較高。

影片中的重點詞彙

影片中最難的 15 個單詞,附發音和釋義:

單詞發音釋義
annotate 動詞/ˈæn.ə.teɪt/注釋 /註釋, 註解 /註解
compiler 名詞/kəmˈpaɪlɚ/編者
stack 名詞/stæk/堆
autocomplete 名詞自動完成 /自動完成
compile 動詞/kəmˈpaɪl/編撰, 彙編 /彙編
customize 動詞/ˈkʌs.tə.maɪ̯z/定製, 定做
syntax 名詞/ˈsɪn.tæks/句法
colon 名詞/ˈkoʊ.lən/冒號 /冒號
assign 動詞/əˈsaɪn/分配, 分派
vanilla 名詞/vəˈnɪl.ə/香子蘭 /香子蘭, 香草
bracket 名詞/ˈbɹækɪt/支架, 托架
compilation 名詞/ˌkɑm.pɪˈleɪ.ʃən/彙編 /彙編, 匯編 /彙編
explicit 形容詞/ɪkˈsplɪs.ɪt/精確
behave 動詞/bɪˈheɪv/為人 /為人
flavor 名詞/ˈfleɪvə/味道, 味兒 /味兒

影片中出現的短語動詞

單詞釋義
figure out 動詞弄清楚

影片中的語法

說話人最常用的結構,並附上影片中的原話:

結構影片中的用法
條件句 if + 從句,will/would + 動詞 — 條件及其結果if your code is broken, you won't catch
被動語態 be + 過去分詞 — 強調發生了什麼,而不是誰做的is interpreted · be supported
定語從句 who / which + 從句 — 補充說明人或事物JavaScript, which means · interfaces, which is

需要注意的發音

說話人用了 5 次縮略和弱讀形式,例如 don't, doesn't, they'll。請按聽到的簡短形式來說。

  • “sh” 和 “zh” 音: compilation /ˌkɑm.pɪˈleɪ.ʃən/, optional /ˈɑp.ʃə.nəl/, documentation /ˌdɑkjəmɛnˈteɪʃən/
  • 長單詞——注意重音位置: alternatively /ɔlˈtɝ.nə.tɪv.li/, compilation /ˌkɑm.pɪˈleɪ.ʃən/, documentation /ˌdɑkjəmɛnˈteɪʃən/

中文母語者容易讀錯的音:

  • /v/ — 不要讀成 /w/,上齒輕觸下唇: validate /ˈvæl.ɪ.deɪt/, alternatively /ɔlˈtɝ.nə.tɪv.li/, vanilla /vəˈnɪl.ə/, behave /bɪˈheɪv/, flavor /ˈfleɪvə/
  • 詞尾子音 — 要讀清楚,後面不要加母音: annotate /ˈæn.ə.teɪt/, static /ˈstæt.ɪk/, stack /stæk/, customize /ˈkʌs.tə.maɪ̯z/, validate /ˈvæl.ɪ.deɪt/
  • /æ/ — 嘴張大,不要讀成 /e/: annotate /ˈæn.ə.teɪt/, static /ˈstæt.ɪk/, stack /stæk/, validate /ˈvæl.ɪ.deɪt/, syntax /ˈsɪn.tæks/

如何用這段影片練習

  1. 先完整聽一遍影片,不要開口,記下不認識的單詞。
  2. 先用 0.75 倍速逐句跟讀,熟練之後再回到正常速度。
  3. 錄下自己的聲音並與原聲對比,特別注意 annotate, compiler, stack 這類單詞。

什麼是跟讀法?

跟讀法 (Shadowing) 是一種有科學依據的語言學習技巧,最初開發用於專業口譯員的培訓,並由多語言者Alexander Arguelles博士普及。這個方法簡單而強大:您在聽英語母語原聲的同時立即大聲重複——就像是一個延遲1-2秒緊跟說話者的影子。與被動聽力或語法練習不同,跟讀法強迫您的大腦和口腔肌肉同時處理並模模擬實的講話模式。研究表明它能顯著提高發音準確性,語調,節奏,連讀,聽力理解和口語流利度——使其成為雅思口語備考和真實英語交流最有效的方法之一。

影子跟讀法: 閱讀完整分步指南 →