Function body
جەستەی کردار
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
The indented under the that do the function's work. They run only when the function is called, and a return can end them early.
ژێر کە بۆشایی سەرەتایان هەیە و کاری ئەنجام دەدەن. تەنها کاتێک جێبەجێ دەبن کە بانگ دەکرێت و return دەتوانێت زووتر کۆتاییان پێ بهێنێت.
Exampleنموونە
Nothing in the body runs until the last line calls the function.
هیچ شتێکی ناو جەستەکە جێبەجێ نابێت تا دوایین دێڕ بانگی دەکات.
def greet(name):
message = "Hello, " + name # body
print(message) # body
greet("Hana") # Hello, HanaOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
جەستەی کردارەکە، جەستەیەکی کردار
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Same pattern as loop-body (جەستەی خول) and the registry's request-body (جەستەی داواکاری). Proposed.