🍛 function #javascript #typescript #programming

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Only js soy devs can manage to add complexity to a multiplication lol

goodboy
Автор

Please never use this in any serious production code. You will kill whoever comes after you to maintain or enhance functionality. Always write the simplest code you can, the only exception being there is a big difference in resources used.

adwaits
Автор

I understand currying and I'm never going to turn down a new tool in my tool kit, but this feels like having a car jack at my laptop repair kit.

Kuwaaito
Автор

at one point garbage collector will be thankful for this

paulopmann
Автор

I like to use this trick to keep other programmers on my team on their toes. If I wrote code that was too easy to read and quickly understand, then their skills will degrade over time.

NthMetalValorium
Автор

The hallmark of good engineering is simplicity, not complexity.

joshzollinger
Автор

Hot take: currying is the worst way to achieve composable functions.

jamesmoynihan
Автор

why simple when you can make it overcomplicated.

MilMike
Автор

I need a partner that loves me as much as devs love complexity

codinginflow
Автор

And now I'm finality understood how a closure works. Thanks.

alaksiej
Автор

WTF, dude literally said "function" like 50 times 😂😂 ... I am totally overwhelmed

AlaDin
Автор

This is just bad practice, decreasing readability and increasing complexity.

mladenorsolic
Автор

You know, bind also exists to avoid flung all this...

rex_melynas
Автор

this is so dumb I had a mini heart attack watching it

octaviodelser
Автор

The smartest programmer that has ever lived once said: “An Idiot admires complexity, a genius admirers simplicity”

wiredelectrosphere
Автор

Why so many people against it? It just obeys dependency inversion concept in the SOLID principle.

vetrivendhan
Автор

Late to the party, but NEVER use this. This is completely pointless in any production environment and only makes the code harder to read, understand and debug.

ShiroNoFune
Автор

What is it with programmers wanting to make so many things so needlessly overcomplicated holy shit.

jamesalphonse
Автор

Can't believe peeps think this is complicated.

Code in Java for a week then tell me this is complicated.

paperclip
Автор

This is closure an aspect of functional programming

mohammadalrefaai