Reviewing a change in a language you do not write used to mean either declining or approving on trust. It is now genuinely possible, provided you keep the judgement with yourself and use the model for translation rather than for the verdict.
What transfers regardless of language?
Most of what matters. Whether the logic is right, whether cases are handled, whether the change matches its stated purpose, whether the structure is sensible and whether anything is obviously missing are all language-independent questions.
What does not transfer is idiom: whether this is how it is normally done here, and whether an unfamiliar construction is standard or unusual.
What is the method?
- Ask for a plain-English description of what the code does, function by function.
- Check that description against what the change is supposed to do.
- Ask which constructions are idiomatic and which would surprise a practitioner.
- Ask what the language-specific pitfalls are for this kind of code.
- Form your own view on the logic, which is the part you can actually judge.
Why start with a description rather than a review?
Because the description is checkable against intent, and a review is not. Reading what the code does in words lets you notice that it does something different from what the change was meant to do, which is the most valuable finding available and does not require knowing the syntax.
What are the language-specific pitfalls worth asking about?
What are the common mistakes in this language for code of this kind? Check specifically for those in this change, and explain each one in terms of what happens at runtime rather than in terms of the syntax.
Every language has a handful: how null values behave, how errors propagate, what is copied and what is shared, where automatic conversion happens. Asking directly produces a targeted check.
What should you not do?
Approve based on the model saying it looks correct. That is trusting an assessment you cannot evaluate, which is the position you were in before, with an extra layer of apparent authority.
How do you tell whether the explanation is right?
By asking the same question twice, separately, ideally in different sessions. Consistent descriptions of what a function does are reasonable evidence; descriptions that differ tell you at least one was constructed.
Anything surprising should be checked against the language documentation, which is quick when you know what to look up.
What about reviewing your own generated code in a new language?
The same method, with more caution. Code you did not write in a language you do not know is the least defensible thing to ship, and the review is the only barrier, which is an argument for keeping the change small.
Where are the limits?
Performance characteristics, ecosystem conventions and whether a library choice is sensible all require familiarity that no amount of explanation supplies. Those are worth naming as unreviewed rather than assumed acceptable.
Does this apply to reviewing unfamiliar frameworks?
The same method with an important difference: framework behaviour is frequently the thing that decides whether code is correct, and it is exactly where a model's knowledge may be out of date.
A framework that changed its defaults between major versions will produce confident review comments describing the old behaviour. Asking which version the assessment assumes, and checking that against what the project uses, catches this. It is the same currency problem that affects everything drawn from training data, and it bites harder here because framework conventions change faster than language semantics do.
What is a reasonable position?
Reviewing the logic and flagging that you cannot assess the idiom is honest and useful. Approving as though you had reviewed both is neither, and the distinction is worth stating explicitly when you leave the comment.