Home / Companies / Plaid / Blog / Post Details
Content Deep Dive

Seeking refuge from unsafe JavaScript

Blog post from Plaid

Post Details
Company
Date Published
Author
David Chambers
Word Count
987
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

Plaid's codebase has evolved significantly since 2013, with a shift away from imperative JavaScript and towards more functional programming approaches. The team initially used Underscore.js for its benefits in avoiding loops and improving type safety, but still struggled with type errors due to inconsistent data. To address this, they developed Sanctuary, a library of safe versions of unsafe Ramda functions, which provides a way to write terse and declarative programs that work correctly for all inputs using the Maybe data type. The team's adoption of functional programming has improved their codebase's overall quality and maintainability.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.