Gramática · nivel B1
Condicionales en inglés para devs
El primero para lo probable; el segundo para hipótesis. Nunca “will” detrás de “if”.
Fórmula
if + presente → will · if + pasado → would
Ejemplos de trabajo
| Inglés | Español |
|---|---|
| If it breaks, I'll roll back. | Si se rompe, hago rollback. |
| If we had more time, we would add tests. | Si tuviéramos más tiempo, añadiríamos tests. |
| If the tests pass, we'll merge it. | Si pasan los tests, lo mergeamos. |
En un code review
Leo: What happens if the token expires?
Tú: If it expires, the client will refresh it.
Error típico: nada de will después de if
✕ If it will fail, we roll back.
✓ If it fails, we'll roll back.