Dennis Hackethal’s Blog
My blog about philosophy, coding, and anything else that interests me.
Tweet
This mirrored tweet of mine may be formatted slightly differently than on Twitter.
This is an older tweet. I don’t necessarily endorse it anymore.
Dennis Hackethal
That one feels like something that shouldn’t be implemented on a language level but simply as a function.
let pipe = (init, fns) => {
return fns.reduce((acc, curr) => {
return curr(acc);
}, init);
}
Typed this on my phone but I think it should work.
What people are saying
Below comments were posted on this blog, not on Twitter.