ENع
الدرس 29 · Designing code

Functional style

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

Functional style builds programs from small pure functions that turn inputs into outputs and change nothing else. Follow a list of four numbers through a pipeline of map, filter and reduce, each step making a new list, and compare it with a loop that keeps rewriting one variable.

11 دقيقة10 خطوات5 أسئلةIntermediate
شكل 29 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.