الكود يُقرأ أكثر مما يُكتب
في هذا الدرس 4 موضوعات
محتوى هذا الدرس مكتوب وينتظر المراجعة. يعرض المخطط أدناه ما سيغطيه، وسيُنشر بعد اعتماده.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
see why readability matters most.
الموضوعات المخطط لها
- You write a line once. Many people read it many times.
- Most work on a job is reading and changing existing code.
- Clear code costs less to change and has fewer bugs.
- Clever code is not good code; plain code is.
- Quality habits are small and repeated: names, small methods, tests.
تفاصيل المخطط المبدئي
عرض عملي
two versions of one method side by side: one with a, b, x and one with clear names.
اختبر فهمك
Who reads your code most?
أظهر الإجابة
Other developers, including you later.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.