Breakdown of Никому не сообщать код.
Questions & Answers about Никому не сообщать код.
Because сообщать takes the person you tell in the dative case.
- никто = no one as a subject
- никому = to no one / to nobody
In this sentence, no one is not doing the action. Instead, the code must not be communicated to anyone, so Russian uses the dative:
- сообщать кому? = to tell whom?
- никому = to nobody
So:
- Никто не сообщает код = No one is telling the code
- Никому не сообщать код = Do not tell the code to anyone
Russian often uses the infinitive for firm instructions, warnings, rules, and official notices.
So Никому не сообщать код sounds like:
- a written instruction
- a policy
- a warning
- something you might see on a screen, in a manual, or in a security message
Compare:
Не сообщайте никому код. = Don’t tell anyone the code.
More like a direct command to a person or group.Никому не сообщать код. = Do not disclose the code to anyone.
More impersonal, formal, and instructional.
English does something similar in signs and instructions, like Do not enter or Not to be used.