انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهSRA-002-L02

دوال اللياقة (Fitness Functions)

  • الدرس 2 من 7
  • Senior A
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

define fitness functions that express important qualities as checks.

الموضوعات المخطط لها

  • A fitness function measures one architectural quality: performance, coupling, security, cost, or operability.
  • Good ones are specific, have a threshold, and an owner who acts when it fails.
  • Pick qualities tied to business goals, such as checkout latency or cost per order.
  • Few, meaningful functions beat dozens nobody reads.
تفاصيل المخطط المبدئي

عرض عملي

a table with five rows: quality, measure, threshold, owner. For example, coupling: "no domain depends on another domain's internal packages", threshold zero violations, owner domain team.

اختبر فهمك

What four things should every fitness function name?

أظهر الإجابة

The quality, the measure, the threshold, and the owner.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.