Today I Learned - Rocky Kev

TIL a bunch of new functional programming words

POSTED ON:

TAGS:

This reddit post - Sharing some JS-recipes I've been using in projects via chandru89new is interesting.

I like it because I keep my own patterns.

But this comment via GrandMasterPuba:

It's so funny seeing developers re-invent functional programming paradigms. We really need to teach this stuff better.

You've discovered or are on the track to discovering the Maybe functor, futures, Monoidal properties of the Promise monad, and lenses.

Facepalm

Yeah, I need more functional programming skills.


Related TILs

Tagged:

TIL a bunch of new functional programming words

It's so funny seeing developers re-invent functional programming paradigms. We really need to teach this stuff better.

TIL Cleaner data structures

Avoid unnecessary contexts, optional chaining, better error handling, avoid using flags

TIL Cleaner Functions

tl;dr - Limit the number of arguments, Avoid executing multiple actions in a function, Avoid mutation, Avoiding non-negatives, Return Early