Actually the first example on currying that really makes the thing "click". Thank you Steve, as always. You save us from the fog in the JS forrest : )
@bengalballa3 жыл бұрын
Great tutorials! Your style of teaching is very effective.
@qzbnyv3 жыл бұрын
Been waiting for this. Thank you as always, Steve.
@DmitriyMalayevProfile3 жыл бұрын
Love the quality, thanks Steve.
@joebloggsnz3 жыл бұрын
Great example Steve. Thanks.
@Dom-fs8om2 жыл бұрын
Awesome tut. You should sell courses and teach. Your teaching style is very effective
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
I do teach full-time as a professor at my local College. I decided to keep all my content free on KZbin for everyone
@ivan89pln3 жыл бұрын
If i understand correct, we use currying / function composition when we have some actions that repeat and we don't want to declare a new function everytime with multiple parameters, instead of declaring a single composer function which we invoke many times instead? Is the main reason behind currying/composing functions to save memory and don't repeat code?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
It is more to do with striving towards pure functions that each do a single thing without any side effects. Making a series of logical steps with pure functions leads to less error prone code.
@javajoint Жыл бұрын
great example. and for some reason I am hungry!
@ramielwan482 жыл бұрын
Best teaching
@lenguajesdeprogramacionson50503 жыл бұрын
Man IDKU, but if for any chance I meet you, I'll invite you the best dinner I can pay. You Rock! TYVM
@SteveRunciman3 жыл бұрын
nice video. why do you need to sleep if you are awaiting calls to jsonPlaceholder in init?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
don't have to. Just wanted to use a delay to show that the results were being used at some time in the future instead of as soon as they were available.
@fadhilh39313 жыл бұрын
React Hooks use this concept, am I right?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Pretty much every JS framework and library does.
@pokerchannel69913 ай бұрын
very nice.
@jornejongsma3 жыл бұрын
Ok, .mjs was new to me... The benefits of that could have been a topic of its own, like your top level async await.
@ballonura3 жыл бұрын
nice video.
@Horse-tradeEu3 жыл бұрын
chocolate vanilla curry cupcakes:p Sounds like advanced JS