Our great sponsors
-
I'm guilty of writing less Chicago style tests, and instead allowing the Elm/ReScript compilers to handle most of what a larger Chicago test suite would handle just avoid that "change all the tests later" pain.
-
F#
Discontinued Please file issues or pull requests here: https://github.com/dotnet/fsharp (by fsharp)
FP devs differ based on language here. Elm, like F#, tends to encourage "a bunch of functions and types in a file". While Elm supports modules, we don't really care where it came from; they're all pure, all deterministic, the compiler tells us if it works.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
FP devs do behavioral validation in integration/e2e tests. This is where the actual side effects happen and we validate the effects of those side effects. Pure languages like Elm and Roc which have no side effects so you can't do behavioral validation in the language itself.
-
This is way harder in pure, side effect languages like Haskell/Elixir/F#.
Related posts
- How does one write React apps in a purely functional style without making the entire codebase a mess?
- Converting a JavaScript React app to a ReScript React app.
- JavaScript and Python have made me realise why strong typing is important
- TypeScript is 'not worth it' Svelte switches to JavaScript and JSDoc
- Learning functional oncepts - Which Language?