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

Definitionپێناسە

A language rule where every has a fixed that is known before the program runs, usually given in a declaration such as int age = 21;. The reports type mistakes before anything runs. Java and C# use static typing.

یاسایەکی زمانە کە تێیدا هەر جێگیری هەیە و پێش جێبەجێکردنی دیارە، زۆرجار لە ناساندنێکدا دەنووسرێت وەک int age = 21;. هەڵەکانی جۆر پێش ئەوەی هیچ شتێک جێبەجێ بێت ڕادەگەیەنێت. Java و ⁦C#⁩ جۆرداریی جێگیر بەکار دەهێنن.

Exampleنموونە

In Java, age was declared as an int, so giving it a string is rejected by javac before the program runs.

لە Javaـدا age وەک int ناسێنراوە، بۆیە دانانی تێیدا لەلایەن javacـەوە ڕەت دەکرێتەوە پێش ئەوەی جێبەجێ بێت.

int age = 21;
age = "old";   // error: incompatible types: String cannot be converted to int

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

تایپی ستاتیک

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

Descriptive coinage: جۆر as in the registry's data-type (جۆری دراوە); جۆرداری = having a type ('typed'). جێگیر and ناجێگیر are the Kurdish computer-terms dictionary's words for static and dynamic («کتێبخانەی جێگیر / ناجێگیر» in its dynamic-link library entry). Proposed.

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

Videosڤیدیۆکان

Statically Vs Dynamically Typed LanguagesTechGatha · Englishئینگلیزی · 34K viewsبینین · 1.3K likesلایک

Statically typed languages fix a variable's type before running (int x = 10, checked by the compiler); dynamically typed ones like Python decide while running.

زمانێکی خاوەن جۆری پێش دیاری دەکات (int x = 10، دەیپشکنێت)؛ زمانێکی خاوەن ، وەک ، لە بڕیار دەدات.

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