mostly-adequate-guide
fp-ts-std
Our great sponsors
mostly-adequate-guide | fp-ts-std | |
---|---|---|
20 | 1 | |
23,123 | 202 | |
0.4% | - | |
6.2 | 8.5 | |
4 months ago | 21 days ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mostly-adequate-guide
-
Anyone use Git for writing projects?
This project might serve as inspiration: https://github.com/MostlyAdequate/mostly-adequate-guide
-
[AskJS] Is there a website out there for learning functional programming in javascript?
i like reading this book directly from github with dark mode, also the subheading don't work in the gitbook website and gitbook is abandoned, here's the github link: https://github.com/MostlyAdequate/mostly-adequate-guide/blob/master/SUMMARY.md
- FE devs, ceva sfaturi pentru un junior?
-
FP techniques that will help you write better JavaScript
It’s been a while since I focused on FP, but I recall finding this useful quite often and gleaning the concepts from it relatively easily.
https://github.com/MostlyAdequate/mostly-adequate-guide
I found a lot of articles like the OP, and ultimately they left me confused about the benefits in the beginning. I found it more useful to avoid one off articles and dig into larger pieces of work where the author put in much more care.
-
Help an old OO developer figure out current practices for structuring server side javascript?
On the book front, there are two that I am fond of which have a focus on JavaScript and FP, Professor Frisby’s Mostly Adaquate Guide, and Functional Light JavaScript. They are nice practical books that help you lean into JS’s strength as an FP language while writing real code.
-
Ask HN: Hey Functional Programmers, how did you learn functional programming
So, this is going to be an uphill battle for you. I suggest you actually learn Haskell first, and then you'll be able to apply its lessons to TypeScript.
Its tricky because these are patterns that are familiar in Haskell but are not really taught in other settings.
Additionally, to really learn these, you need to experiment with them. Use them. etc. That's pretty hard to do if the learning resources are mostly in haskell and you don't really understand it.
Alternatively, this might help: https://github.com/MostlyAdequate/mostly-adequate-guide
Also alternatively, what I would do is just go slowly through the fp-ts code. Look at it a piece at a time and slowly grow your understanding.
This may also help https://www.amazon.com/Domain-Modeling-Made-Functional-Domai...
- What is your most controversial Python-related opinion?
-
Functors, Applicatives, and Monads in Pictures
There are a good deal of resources explaining these concepts in non-Haskell languages. This one is quite good and in javascript: https://github.com/MostlyAdequate/mostly-adequate-guide
As far as functors this could be rephrased more comprehensibly to those unfamiliar with Haskell as "What is a Functor, really? Functor is an interface here are some definitions:"
(typescript)
- Could you recommend FP blogs?
- FP JavaScript in the wild?
fp-ts-std
-
Ask HN: Hey Functional Programmers, how did you learn functional programming
fp-ts is hard to learn. Its docs, whilst improving, aren't great and it's applying pure functional concepts to a language which isn't designed for it. The outcome is surprisingly good but it's hard to understand as a newcomer why certain design decisions have been made, or what patterns are and are not idiomatic.
I'd recommend learning Haskell in your free time. It's a major paradigm shift but once it clicks you'll find it a lot easier to translate those concepts into fp-ts.
I went through this journey a couple of years ago, and now write heavy fp-ts code full-time - including maintaining fp-ts-std[1] - as well as some paid Haskell gigs on the side. Do feel free to reach out if you want any guidance at all, you'll find my email on my personal site[2]. The FP Slack is also a great place to ask for help with anything FP, including fp-ts - if you send me an email I can have an invitation sent to you.
What are some alternatives?
functional-programming-jargon - Jargon from the functional programming world in simple terms!
fp-ts - Functional programming in TypeScript
cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
gleam - ⭐️ A friendly language for building type-safe, scalable systems!
lambda-fibonacci - js lambda calculus implementation of the fibonacci sequence
RxCoreData - RxSwift extensions for Core Data
nbdev - Create delightful software with Jupyter Notebooks
papermill - 📚 Parameterize, execute, and analyze notebooks
awesome-functional-programming - Yet another resource for collecting articles, videos etc. regarding functional programming
javascript - JavaScript Style Guide