How to Curry Function in Javascript | Advanced Functional Programming JS Interview Questions

Опубликовано: 31 Июль 2022
на канале: Mohammed Elzanaty
1,832
124

في هذا الفيديو أتحدّث عن الكارينج و هو تقنية متقدمة للعمل مع الدوالّ. يستخدم في العديد من اللغات البرمجية الآخرى من بينهم جافا سكريبت.
عبارة عن طريقة لتحويل الدوالّ التي تقيم الدالّة ذات الاستدعاء-أكثر من وسيط
f (a، b، c)‎
لتصبح قابلة للاستدعاء بوسيط واحد هكذا ‎.
f(a)(b)(c)

Learn how to curry functions in Javascript. In this advanced javascript tutorial on currying, we will discover a curried function, how to curry functions, partially apply functions, and how to write a curry function.

💖 Become a Channel Member: Show support & get perks!
   / @moelzanaty3  
🚀 Join Discord -   / discord  

#frontend #html #css #javascript #react
#currying #mohammedelzanaty #mentomz

▬ 🔗 Chapters ▬▬▬▬▬▬▬▬▬▬

⌛ 00:00:00 Currying Overview
⌛ 00:01:42 Curried Add
⌛ 00:06:11 Real Curried Example [Logging]
⌛ 00:07:35 Curry Function with lodash
⌛ 00:11:38 Resources
⌛ 00:12:07 Outro

▬ 🔗 Resources ▬▬▬▬▬▬▬▬▬▬
⭐ Source Code: https://github.com/moelzanaty3/comple...
⭐ The Simplest Intro to Currying in Javascript: https://medium.com/m/global-identity?...

▬ 🔥 Contact Me ▬▬▬▬▬▬▬▬▬▬
🚀 BIO: https://moelzanaty3.bio.link/
☕ You Don't need to meet me to buy a coffee: https://www.buymeacoffee.com/moelzanaty3
🔗 GitHub: https://github.com/moelzanaty3
🔗 LinkedIn:   / moelzanaty3  
🔗 Twitter:   / moelzanaty3  
📪 [email protected]

▬ ⚙️ My Equipment Gear ▬▬▬▬▬▬▬▬▬▬
🌟 https://kit.co/mohammdelzanaty/my-you...

▬ 🎨 My Editor Settings ▬▬▬▬▬▬▬▬▬▬
🌟 Night Owl Color Theme.
🌟 Dank Mono Font
or more information -    • My Code Editor:  Visual Studio Code, Setup...