Lenguaje técnico Flashcards

1
Q

How do you say: “Esa función se pasa dentro de otra”

A

That function is being passed into another function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Correct this: “I can definitely running”

A

I can definitely run it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you ask: “¿Cuál sería una mejor solución?” en inglés natural

A

What would be a better solution?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Correct this: “You could pass here a parameter”

A

You could pass a parameter here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s a better way to say: “Voy a descomentar todo”

A

I’m gonna completely uncomment it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s a higher-order function? (define it simply)

A

A function that takes another function as a parameter or returns one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Example sentence with “callback function”

A

We need to use this callback function in another block of code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Fix this: “This is a high order function”

A

This is a higher-order function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you say: “No deberías invocar esa función directamente”

A

You shouldn’t invoke that function directly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Phrase you can use in a standup: “Hoy estudié funciones de orden superior”

A

Today I reviewed higher-order functions and practiced callbacks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does an async function return?

A

A promise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Complete: You can only use await inside an ___ function

A

async

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Fix this sentence: “You need to wrapped the function.”

A

You need to wrap the function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What’s the cleaner alternative to .then().then().catch()?

A

Using async/await with try/catch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What’s wrong with: “a async function”?

A

It should be an async function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Translate this idea: “Donde más puedo usar async/await?”

A

Where else can I use async/await?

17
Q

What’s the English term for a function that takes another function?

A

A higher-order function

18
Q

Fill the gap: This function is being passed ___ another one

19
Q

Correct this: “Can making easier to understand”

A

Can make it easier to understand

20
Q

You’re writing a fetch call with async/await. How do you handle errors?

A

Use a try/catch block around the await call.