Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Currying in JavaScript. Parent comment
`sendEmail(mockEmailService)(to, subject, body) `
I find it helps to differentiate between side-effecting dependencies and parameters, making code purer, easier to test, more scalable etc.
There are no comments on this comment yet.
`sendEmail(mockEmailService)(to, subject, body) `
I find it helps to differentiate between side-effecting dependencies and parameters, making code purer, easier to test, more scalable etc.