Getting Started
Why is Radash so dashing?
The Radash source is easy to read and understand. We don’t make you navigate through internal library modules and classes, reading a hundred lines of code, to understand what a function does or how it works.
As an example, here’s a look at the source for the _.compose
function.
export const compose = (...funcs: Func[]) => {
return funcs.reverse().reduce((acc, fn) => fn(acc))
}
Thats it… thats the function.
Functional programming has incredible design patterns that we often pull from. However, we’re not die-hard functional engineers. You don’t have to understand monads to use Radash. Most Radash functions are deterministic and/or pure.
Radash is written in TypeScript and provides full typing out of the box.