Pratique du Shadowing: Array Map in 100 Seconds - Apprendre l'anglais à l'oral avec la vidéo

Choisissez un mode d'entraînement

Chaque mode ouvre une salle d'entraînement en plein écran.

25 phrases
Si les phrases sont trop courtes ou trop longues, cliquez sur Edit pour les ajuster.
1
ArrayMap.
2
Create a new array by calling a function on every element in a different array.
3
Imagine we have an array of squares.
4
We can call a function on every single one of those
5
squares using map to convert it to a new array of circles.
6
In other words, it's just a loop, where the goal of that loop is to create a new array.
7
In our code, let's start with an array of objects that contain some user data.
8
Our goal is to take this array of objects
9
and convert it to an array of strings that only contain the user names.
10
You could do this imperatively by creating a new empty array, then use a for loop to push each individual username to the new array.
11
Notice how we're using statements to change the app's state.
12
This is known as imperative programming.
13
Map on the other hand is declarative and describes how to create this new array using a function.
14
The new array is equal to the original array mapped to a function.
15
The function is passed as an argument to map, and it's called on every element in the original array.
16
The function has access to the current element in the loop as well as its index.
17
In the body of the function, your job is to compute a new value and then return it.
18
And we've now solved the same problem we did with the for loop, but with less code and without mutating the internal state.
19
If you're a ReactJS user, you'll often see Map used to take some initial data and then map it to JSX for the actual UI.
20
Or maybe you need these usernames to do something asynchronously like fetch additional data from the database.
21
You could do that by mapping them all to an array of promises, then running them concurrently with promise.all.
22
One anti-pattern to be aware of with map is
23
that you should only use it if you plan on using the new array.
24
If you just need to run a loop, consider for each, or a regular for loop instead.
25
This has been ArrayMap in 100 seconds, thanks for watching, and I will see you in the next one.

Télécharger l'application

Tout pour parler couramment

Prononciation IAChaque phrase notée
Phonétique (IPA)Maîtrisez chaque son
VocabulaireEnrichissez votre lexique
Jeu de vocabulaireApprenez en jouant

Même chaîne

FOR YOU

Vidéo recommandée

Vocabulaire et conseils d’expression pour cette leçon

Cette vidéo contient 25 phrases et 372 mots à répéter en shadowing. La partie parlée dure 1:39. Le locuteur parle vite, environ 227 mots par minute : attendez-vous à des liaisons et à des sons réduits. Seuls 81 % des mots font partie des 3 000 mots les plus courants en anglais, le vocabulaire est donc exigeant.

Vocabulaire clé de cette vidéo

14 mots moins courants de la vidéo, avec leur prononciation et leur sens :

  • array /əˈɹeɪ/ (nom) — éventail. Clothing and ornamentation; raiment.
  • loop /luːp/ (nom) — boucle. A length of thread, line or rope that is doubled over to make an opening.
  • element /ˈɛləmənt/ (nom) — élément. One of the simplest or essential parts or principles of which anything consists, or upon which the constitution or fundamental powers of anything are based.
  • convert /kənˈvɝt/ (verbe) — convertir. To transform or change (something) into another form, substance, state, or product.
  • username (nom) — nom d'utilisateur, identifiant. A name or string of characters used as a person's identification on an individual computer system.
  • solve /sɒlv/ (verbe) — résoudre, régler. To find an answer or solution to a problem or question; to work out.
  • string /stɹɪŋ/ (nom) — corde. A long, thin and flexible structure made from threads twisted together.
  • database /ˈdeɪtəˌbeɪs/ (nom) — base de données, banque de données. A collection of (usually) organized information in a regular structure, usually but not necessarily in a machine-readable format accessible by a computer.
  • imperative /ɪmˈpɛɹ.ə.tɪv/ (adjectif) — impératif, essentiel. Essential; crucial; extremely important.
  • fetch /fɛt͡ʃ/ (verbe) — ramener, rapporter. To retrieve; to bear towards; to go and get.
  • compute /kəmˈpjuːt/ (verbe) — computer, calculer. To reckon, calculate.
  • declarative /dɪˈklæɹ.ə.tɪv/ (adjectif) — déclaratif. Serving to declare; having the quality of a declaration.
  • imperatively (adverbe) — impérativement. In an imperative manner.
  • mutate /ˈmju.teɪt/ (verbe) — muter. To undergo mutation.

Prononciation à surveiller

Le locuteur utilise 4 contractions et formes réduites, comme we're, we've, you'll. Prononcez-les sous leur forme courte, telles que vous les entendez.

  • Mots longs — placez bien l’accent: imperative /ɪmˈpɛɹ.ə.tɪv/, declarative /dɪˈklæɹ.ə.tɪv/

Comment s’entraîner avec cette vidéo

  1. Écoutez la vidéo en entier une fois sans parler et notez les mots que vous ne connaissez pas.
  2. Commencez à la vitesse 0,75×, répétez phrase par phrase, puis revenez à la vitesse normale quand cela devient facile.
  3. Enregistrez-vous et comparez avec l’original, en faisant attention à des mots comme array, loop, element.

La grammaire de cette vidéo

Les structures que le locuteur utilise le plus, avec les mots exacts de la vidéo :

StructureDans la vidéo
Present perfect have/has + participe passé — une action passée qui compte encore maintenantwe've now solved · has been
Voix passive be + participe passé — l’accent est mis sur ce qui arrive, pas sur qui le faitis known · is passed

Qu'est-ce que la technique du Shadowing ?

Le Shadowing est une technique d'apprentissage des langues fondée sur la science, développée à l'origine pour la formation des interprètes professionnels. Le principe est simple mais puissant : vous écoutez de l'anglais natif et le répétez immédiatement à voix haute — comme une ombre suivant le locuteur avec un décalage de 1 à 2 secondes. Les recherches montrent une amélioration significative de la précision de la prononciation, de l'intonation, du rythme, des liaisons, de la compréhension orale et de la fluidité.

Technique du shadowing : lire le guide complet étape par étape →