1. Glossaryفەرهەنگی زاراوەکان
Side effect
کاریگەریی لاوەکی
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

A change that a makes outside itself, besides giving back its : for example changing a , printing, or writing to a file. Side effects the caller cannot see in the call make a program harder to follow and to test.

گۆڕانکارییەکە کە لە دەرەوەی خۆی دەیکات، جگە لە گەڕاندنەوەی : بۆ نموونە گۆڕینی ، چاپکردن یان نووسین لە فایلێکدا. ئەو کاریگەرییە لاوەکییانەی لە بانگکردنەکەدا نایانبینێت بەدواداچوون و تاقیکردنەوەی قورستر دەکەن.

Exampleنموونە

withdraw(2500) with global balance inside has a side effect: after the call, the global balance is smaller, although the call line does not show it.

withdraw(2500) کە global balanceـی تێدایە کاریگەرییەکی لاوەکی هەیە: دوای بانگکردنەکە balanceـی گشتی کەمتر بووەتەوە، هەرچەندە دێڕی بانگکردنەکە ئەمە پیشان نادات.

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

کاریگەرییە لاوەکییەکە، کاریگەرییە لاوەکییەکان، کاریگەرییەکی لاوەکی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Proposed by the Fundamentals of Programming writer (FOPW6). «کاریگەریی لاوەکی» is the usual Kurdish phrase for the side effect of a medicine — an extra result besides the intended one — which is exactly the programming sense; hence "everyday": true. Python's FAQ (rules for local and global variables) gives avoiding unintended side effects as the reason why global is required for assignment.

Related termsزاراوە پەیوەندیدارەکان

Learn more inزیاتر فێربە لە