Ellipsis and Substitution
Elipsis y sustitución: eliminar o reemplazar elementos repetidos
La elipsis funciona como un 'compactador de código' en programación: elimina información redundante que el contexto hace innecesaria. Es similar a cómo un compilador optimiza eliminando código muerto.
La sustitución usa pronombres o 'do/does/did' para reemplazar frases verbales completas, como cuando usamos variables para almacenar valores reutilizables en programación.
Ambas técnicas hacen el lenguaje más eficiente y natural, evitando la repetición innecesaria, similar a cómo un buen programador evita code duplication.
Sujeto + aux + too/also → Para添加 información positiva Sujeto + aux + neither/nor → Para添加 información negativa do/does/did + pronombre → Para sustituir el verbo principal one/ones → Para sustituir sustantivos so/not → Para sustituir cláusulas completas
Debugging lab
Corrige o completa la línea. 7 ejercicios por tema.
- 6.2.7.1
She likes coffee. I like coffee too.
- 6.2.7.2
He can't swim. I can't swim either.
- 6.2.7.3
Will the project succeed? I think the project will succeed.
- 6.2.7.4
Is he coming? I don't believe he is coming.
- 6.2.7.5
I need a pen. Do you have a pen?
- 6.2.7.6
She will attend the meeting. He will attend the meeting too.
- 6.2.7.7
The exam was difficult. The assignment was difficult too.
- 6.2.7.8
She has finished her work. He has finished his work as well.
- 6.2.7.9
I don't like coffee. She doesn't like coffee either.
- 6.2.7.10
Are they coming to the party? I expect they are coming to the party.
- 6.2.7.11
Can you help me? Yes, I can help you.