6 Comments
Jan 9, 2022Liked by mogwai.

Really cool. A fun exercise for someone learning about this to try could be implementing a function to compose a variable number of function arguments.

Like:

compose(square, cube, squareRoot)(2) => 8

compose(add, toString)(1, 2) => 'three'

Expand full comment

This was really fun to do.

Hint: Reducers over loops.

Expand full comment

What's the best programming language a beginner should start with?

Expand full comment
author

TL;DR — Python is often considered one of the most beginner-friendly languages https://www.youtube.com/watch?v=NtfbWkxJTHw&ab_channel=Fireship

Expand full comment
Jan 9, 2022·edited Jan 9, 2022

Great read! Thanks for expanding my knowledge of currying.

Expand full comment
author

Thank you so much for reading!

Expand full comment