Shadowing Practice: Array Map in 100 Seconds - Learn English Speaking with Video

Creando lección...
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.

Vocabulario y notas de pronunciación para esta lección

Este vídeo tiene 25 frases y 372 palabras para practicar shadowing. La parte hablada dura 1:39. El hablante habla rápido, unas 227 palabras por minuto, así que espera sonidos enlazados y reducidos. Solo el 81 % de las palabras está entre las 3.000 más comunes del inglés, por lo que el vocabulario es exigente.

Vocabulario clave de este vídeo

15 palabras menos comunes del vídeo, con su pronunciación y significado:

  • array /əˈɹeɪ/ (sustantivo) — atavío, galas. Clothing and ornamentation; raiment.
  • loop /luːp/ (sustantivo) — lazo, lazada. A length of thread, line or rope that is doubled over to make an opening.
  • element /ˈɛləmənt/ (sustantivo) — elemento. 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/ (verbo) — convertir. To transform or change (something) into another form, substance, state, or product.
  • username (sustantivo) — nombre de usuario. A name or string of characters used as a person's identification on an individual computer system.
  • solve /sɒlv/ (verbo) — resolver, solucionar. To find an answer or solution to a problem or question; to work out.
  • string /stɹɪŋ/ (sustantivo) — cuerda, mecate ("cordel" or "cuerda"). A long, thin and flexible structure made from threads twisted together.
  • database /ˈdeɪtəˌbeɪs/ (sustantivo) — base de datos, banco de datos. 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/ (adjetivo) — imperativo. Essential; crucial; extremely important.
  • fetch /fɛt͡ʃ/ (verbo) — traer, buscar. To retrieve; to bear towards; to go and get.
  • asynchronously (adverbio) — asíncronamente. In an asynchronous manner.
  • compute /kəmˈpjuːt/ (verbo) — computar, calcular. To reckon, calculate.
  • concurrently (adverbio) — simultáneamente. In a concurrent manner; at the same time.
  • declarative /dɪˈklæɹ.ə.tɪv/ (adjetivo) — declarativo. Serving to declare; having the quality of a declaration.
  • imperatively (adverbio) — imperativamente. In an imperative manner.

Phrasal verbs que vas a escuchar

  • call on (verbo) — purrir la palabra a, interpelar a. To visit (a person); to pay a call to.

Pronunciación a tener en cuenta

El hablante usa 4 contracciones y formas reducidas, como we're, we've, you'll. Dilas en su forma corta, tal como las oyes.

  • Palabras largas — cuida el acento: imperative /ɪmˈpɛɹ.ə.tɪv/, declarative /dɪˈklæɹ.ə.tɪv/

Cómo practicar con este vídeo

  1. Escucha el vídeo entero una vez sin hablar y anota las palabras que no conoces.
  2. Empieza a velocidad 0,75×, haz shadowing frase por frase y vuelve a la velocidad normal cuando te resulte fácil.
  3. Grábate y compara con el original, prestando atención a palabras como array, loop, element.

Gramática en este vídeo

Las estructuras que más usa el hablante, con las palabras exactas del vídeo:

EstructuraEn el vídeo
Present perfect have/has + participio pasado — una acción pasada que sigue importando ahorawe've now solved · has been
Voz pasiva be + participio pasado — importa lo que ocurre, no quién lo haceis known · is passed

¿Qué es la Técnica de Shadowing?

Shadowing es una técnica de aprendizaje de idiomas respaldada por la ciencia, desarrollada originalmente para la formación de intérpretes profesionales y popularizada por el políglota Dr. Alexander Arguelles. El método es simple pero poderoso: escuchas audio en inglés nativo y lo repites en voz alta de inmediato, como una sombra que sigue al hablante con solo 1-2 segundos de retraso. A diferencia de la escucha pasiva o los ejercicios de gramática, el shadowing obliga a tu cerebro y músculos de la boca a procesar y reproducir simultáneamente patrones de habla reales. Las investigaciones muestran que mejora significativamente la precisión de la pronunciación, la entonación, el ritmo, el habla conectada, la comprensión auditiva y la fluidez al hablar, convirtiéndola en una de las metodologías más efectivas para la preparación del IELTS Speaking y la comunicación en inglés en el mundo real.

Técnica de shadowing: lee la guía completa paso a paso →