Breakdown of اگر کد را اشتباه وارد نکرده بودی، نرمافزار هنگ نمیکرد.
راrâ
definite direct object marker
وارد کردنvâred kardan
to enter / to input
اشتباهeshtebâh
mistake / wrong / incorrect / wrongly
نرمافزارnarm-afzâr
software
اگرagar
if
کدkod
code
هنگ کردنhang kardan
to freeze / to crash
Questions & Answers about اگر کد را اشتباه وارد نکرده بودی، نرمافزار هنگ نمیکرد.
How do we make the compound verb وارد کردن negative in the past perfect tense here?
To form the negative past perfect of a compound verb like وارد کردن (to enter), you add the negative prefix na- to the past participle of the action verb (کرده), giving us نکرده (nakarde). Then you add the auxiliary verb بودی (budi) to match "you". The non-verbal part (وارد) stays separate at the front.
Why does the second half of the sentence use هنگ نمیکرد (past continuous) for "would not have crashed"?
In Farsi third conditionals (which talk about unreal past situations), the "if" clause uses the past perfect, but the result clause uses the past continuous tense (also known as the imperfect). Even though English uses the conditional perfect ("would not have crashed"), Farsi naturally uses the past continuous نمیکرد (nemi-kard) to show the hypothetical past result.
Where does the word هنگ in هنگ نمیکرد come from?
It comes directly from the English word "hang" (as in a computer program hanging or freezing). In everyday Farsi, the compound verb هنگ کردن (hang kardan) is the standard and most common way to say a computer, phone, or piece of software froze or crashed.
The word اشتباه usually means "mistake" (a noun). How does it mean "incorrectly" here?
In Farsi, nouns and adjectives can often be placed directly before a verb to act as adverbs without needing any extra suffixes (like "-ly" in English). By placing اشتباه right before the verb phrase وارد نکرده بودی, it functions as an adverb meaning "incorrectly" or "by mistake".
Learn اگر کد را اشتباه وارد نکرده بودی، نرمافزار هنگ نمیکرد and more in Farsi
All course content and exercises are completely free — no paywalls, no trial periods, no signup needed.
- ✓ Practice with interactive exercises
- ✓ Track your progress with spaced repetition
- ✓Learn at your own pace — completely free