Daniel Schwarz 3 months ago
Front-end development
I learned about closures in JavaScript.

It's so interesting to see syntax like this...

callFunction(argumentForFunction)(argumentForNestedFunction);

I'm taking this course: https://www.udemy.com/course/the-complete-javascript-course/
Dmitrii Pashutskii 3 months ago
Daniel, this is amazing! Closures are could be very powerful instrument for composing. But sometimes, at least for me, it's harder to imagine how they works in my head. Especially with complex structure. PS Btw you can use the formatting of the links and code inside the editor on Learning Story.
Daniel Schwarz 3 months ago
Thanks for the tip! And yes, understanding the logic of JS is the hardest part. The syntax is the easy part 😂