Skip to content
L-SYSTEM

Anatomy of a Conditional: Two Clauses, One Sentence

Preview unit: this one is open without enrolling. The rest open after you enrol.

Explanations are in your language: your assistant gives them. Teaches: English · Material: Russian · Exam: English, not translated How to connect an assistant

Anatomy of a Conditional Sentence

A conditional sentence consists of two parts — clauses:

  • the if-clause — the condition;
  • the main clause (result clause) — what follows from the condition.
If the migration fails,        we roll back automatically.
└──── if-клауза ────┘          └──── главная часть ────┘

Neither part lives on its own. If the migration fails leaves the reader waiting; we roll back automatically is grammatically independent but says nothing about when.

The order can be swapped

Both orders are correct and mean the same thing. What changes is the emphasis: whatever comes first is what you are drawing attention to.

Order Example Emphasis
Condition first If the migration fails, we roll back automatically. on the risk
Result first We roll back automatically if the migration fails. on the safeguard

In a status update for the team you would write the first. In documentation describing a feature — the second.

The comma rule

There is one rule, and it is worth learning, because it is mechanical:

if-clause first → comma. Main clause first → no comma.

  • ✅ If the build is red, don't merge.
  • ✅ Don't merge if the build is red.
  • ❌ Don't merge, if the build is red.
  • ❌ If the build is red don't merge.

Leaning on Russian. Russian punctuation always puts a comma before «если»: «Не мержи, если сборка красная». English does not: when the condition comes second, the word if itself marks the boundary, and the comma is superfluous. This error persists longest among strong learners — precisely because the Russian rule fires automatically.

q Что стоит первым? a if-клауза If the build is red, don't merge. q->a условие b главная часть Don't merge if the build is red. q->b результат ca ставим запятую a->ca cb запятой нет — не переносите русское правило b->cb
FigureСхема: ставить ли запятую — зависит от того, что стоит первым
Description

Ромб с вопросом «Что стоит первым?». Стрелка «условие» ведёт к блоку «if-клауза: If the build is red, don't merge.», под ним — «ставим запятую». Стрелка «результат» ведёт к блоку «главная часть: Don't merge if the build is red.», под ним — «запятой нет — не переносите русское правило». Схема сводит правило к одному вопросу о порядке частей.

Verb tense is not event time

This is the one idea that opens up the whole course.

Verb tense (tense) is the form: fails, failed, had failed. Event time (time) is when it happens: now, yesterday, next Tuesday.

In conditional sentences the two diverge:

  • If it rains tomorrow, the outdoor stand-up is cancelled. — present (rains), but the time is the future.
  • If we had more staging capacity, we would test this properly. — past (had), but the time is the present. This is about today's capacity, not last year's.

So what does shifting the tense back express? Distance from reality. Present — what is really possible. Past — what is imagined now. Past perfect — what is imagined in the past, what did not happen.

Разворот скетчбука: слева в акварели инженер за рабочим столом, справа бледным карандашом — она же на пляже
FigureРазворот скетчбука: слева в акварели инженер за рабочим столом, справа бледным карандашом — она же на пляже
Description

Раскрытый старый скетчбук на грубом деревянном столе. Левая страница в тёплой акварели: молодая женщина в зелёном джемпере сидит за рабочим столом с ноутбуком и кружкой, за окном дождь. Правая страница нарисована только бледным карандашом, без цвета: та же женщина отдыхает в шезлонге у моря под зонтом, рядом на песке лежит закрытый блокнот. Это ключ ко всему курсу: акварель — реальность («сейчас я работаю»), голый карандаш — воображаемое («If I had a week off, I would be at the sea»). Past simple had здесь про сегодня, а не про прошлое. Рисунок не показывает саму форму глагола — только, что реально, а что нет.

Every drawing in the course works this way: watercolour is reality, pale pencil is the imagined. That is why the type cannot be "read off" the verb form. You have to ask what the speaker is claiming about the world. That — not a table of tenses — is what the course teaches.

The four traditional types

You have most likely met them. They are handy labels for four common cases; the course uses them, but the system does not end with them.

Name Pattern Example
Zero if + present, present If the cache key is missing, the service queries the database.
First if + present, will + infinitive If we merge today, we will ship on Friday.
Second if + past simple, would + infinitive If we had a second reviewer, the queue would move faster.
Third if + past perfect, would have + past participle If we had pinned the version, the build would not have broken.

And now four ordinary sentences from a working week at ENGAGE that do not fit into any type:

  • If the retry succeeded, the alert must have been noise. (inference about the past — u08)
  • If the load test passes, deploy to production. (instruction — u03)
  • If you assess the data thoroughly, you might find the root cause. (weakened prediction — u07)
  • If we had pinned the version, the build would not be broken right now. (cause in the past, consequence now — u06)

All four are normal English. They will come later. They are here only so that you stop expecting a number from every conditional sentence.

What actually changes

Three things, and they change almost independently:

  1. How real is the condition? — a fact, a likely future, an unlikely hypothesis or the impossible.
  2. What is the speaker doing? — stating, predicting, inferring, advising, instructing, regretting.
  3. How sure are they? — will / should / might in the same slot give very different degrees of certainty.

From here the course goes through these three axes one at a time.

Practice

Checking here changes nothing: answers start counting once you enrol on the course.

  1. We escalate to the on-call lead if the error rate stays above two percent for five minutes. Какая часть — if-клауза?

  2. If you had joined the call, you would have heard the client's actual deadline. Какая часть — главная (result clause)?

  3. Переставьте части так, чтобы главная часть стояла первой, и расставьте знаки. Напишите предложение целиком, с заглавной буквы и точкой в конце: If the pipeline is green, the artefact is published automatically.

  4. Переставьте части так, чтобы if-клауза стояла первой, и расставьте знаки. Напишите предложение целиком, с заглавной буквы и точкой в конце: The scheduler drops the job if the worker does not respond within thirty seconds.

  5. Переставьте части так, чтобы главная часть стояла первой, и расставьте знаки. Напишите предложение целиком, с заглавной буквы и точкой в конце: If we had known about the rate limit, we would have batched the requests.

  6. Какое предложение пунктуировано верно?

  7. Какое предложение пунктуировано верно?

  8. Вы переводите фразу из раннбука: «Откатываем релиз, если падает больше 1 % запросов». Какой перевод пунктуирован верно?

  9. If the disk filled up, the log rotation was misconfigured. К какому времени относится это предложение, если не смотреть на форму глагола?

  10. If I had root access, I would check that myself. К какому времени относится это предложение?

  11. If the release is signed off today, QA starts tomorrow. К какому времени относится условие?

  12. If we had pinned the version, the build would not be broken right now. Как распределено время?

  13. Посмотрите на разворот с инженером: слева — рабочий стол в цвете, справа — пляж бледным карандашом. Что на рисунке реально?

  14. Какое предложение точнее всего подходит к развороту с инженером?

  15. If the cache key is missing, the service queries the database. Какой ярлык подходит?

  16. If the retry succeeded, the alert must have been noise. Какой ярлык подходит?

  17. Возьмите систему, которую хорошо знаете (фреймворк, пайплайн CI, свой проект). Напишите два условных предложения о её поведении: одно с if-клаузой в начале, другое — с главной частью в начале.

    This one is judged by the author’s rubric — your assistant does that, not the site.