Gramática · nivel B2
Past perfect en inglés para devs
Para lo que ya había pasado antes de otro momento del pasado.
Fórmula
had + participio
Ejemplos de trabajo
| Inglés | Español |
|---|---|
| The tests had failed before I pushed. | Los tests ya habían fallado antes de que hiciera push. |
| Someone had changed the config. | Alguien había cambiado la config. |
| I hadn't seen that error before. | No había visto ese error antes. |
En un postmortem
Priya: Why did the deploy fail?
Tú: Someone had deleted the env variable.
Error típico: solo si hay dos momentos en el pasado
✕ When I arrived, the build failed already.
✓ When I arrived, the build had already failed.