Definitionپێناسە
A way of programming in which the code is built from : units that keep their own data () and actions () together. A is the plan used to make objects.
شێوازێکی بەرنامەسازییە کە تێیدا کۆدەکە لە پێک دێت: یەکەگەلێک کە خۆیان () و کارەکانی خۆیان () پێکەوە هەڵدەگرن. ئەو نەخشەیەیە کە لێی دروست دەکرێن.
Exampleنموونە
In a school system, each student is an object made from a Student class, with properties such as a name and methods such as greet().
لە سیستەمێکی قوتابخانەدا، هەر قوتابییەک کە لە کلاسی Student دروست کراوە، وەک ناو و وەک greet()ی هەیە.
class Student {
public function __construct(public string $name) {}
public function greet(): string {
return "Hello, " . $this->name;
}
}
$s = new Student("Shilan");
echo $s->greet(); // Hello, ShilanOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
تەنخوازی، ئۆ ئۆ پی، بەرنامەسازیی تەنخوازی، تەنخواز
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
S3 (Aras Nuri Ahmed) prints تەنخوازی for OOP and S2 زمانی ئاستبەرزی تەنخواز (تەن = object); this registry otherwise uses the loan ئۆبجێکت for a single object, so reviewers may want to align the two.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
The big idea of object-oriented programming: keeping data and the functions that use it together in objects, and why that helps.
بیرۆکە سەرەکییەکەی : و خۆی پێکەوە لە ناو دادەنرێن و بۆچی ئەمە بەسوودە.
In Kurmanji (Badini): what object-oriented programming is and why programmers use it.
بە کوردیی کورمانجی (بادینی): چییە و بۆچی بەکاری دەهێنن.
Learn more inزیاتر فێربە لە
- Programming Languages and Algorithmsزمانەکانی بەرنامەسازی و ئەلگۆریزمەکان
- Meet Dartناسینی Dart
- Welcome to Python: Install and Runبەخێربێیت بۆ Python: جێگیرکردن و جێبەجێکردن
- Introduction to PHPسەرەتایەک بۆ PHP
- Building Softwareدروستکردنی نەرمەواڵە
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Database Systems, Abstraction and Data Modelsسیستەمەکانی بنکەدراوە، ڕووتکردنەوەی دراوە و مۆدێلەکانی دراوە
- Dart Classes, Inheritance and Mixinsکلاسەکان، بۆماوە و میکسینەکان لە Dartـدا
- Navigation: Moving Between Screensڕێنیشاندان: جووڵان لە نێوان شاشەکاندا