مراجعة تتجاوز الأسلوب
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
review for correctness, design, and operability.
الموضوعات المخطط لها
- Let tools handle formatting and style; spend human attention on behavior.
- Correctness: edge cases, error handling, concurrency, transactions, security.
- Design: boundaries, naming, coupling, whether the change fits the architecture.
- Operability: logs, metrics, timeouts, migrations, rollback, config.
- Read the tests first: do they prove the behavior, or only the happy path?
- Comments should teach: say what, why, and a suggestion or question.
تفاصيل المخطط المبدئي
عرض عملي
a weak comment ("change this") versus a teaching one ("This retries without a limit; a failing provider would flood it. Consider a max of 3 with backoff, see MID-023").
اختبر فهمك
Why read the tests in a review?
أظهر الإجابة
They show what behavior is actually verified.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.