4 ms·
I like FP, but cautious as there aren't many big applications (open source or private) that are written that way. Am I wrong?
by rb808 7y ago
I like FP, but cautious as there aren't many big applications (open source or private) that are written that way. Am I wrong?
- myvoiceismypass 7y agoFP is pretty big in finance (not in trading platforms where speed reigns, though)
- klodolph 7y agoYou don’t need to go full FP to experience the benefits. You can just apply FP principles on a small scale to sections of your code, where appropriate. As for “many big applications”, it depends on what your threshold for “many” is. There are a number of firms that use e.g. Haskell, F#, or ML privately, e.g. Jane Street, Galois. For whatever reason, functional programming seems to be more popular in finance.
- munk-a 7y agoI may just be not familiar enough with them but I think FP tends to be a bit weaker when it comes to supporting code contracts which is a bit of a godsend when working on large projects - that said most also have very resilient type checking rules which can be used to the same end.
- blunte 7y agoTwo years ago, CircleCI posted about how they deploy their 100,000 lines of Clojure backend code and 30,000 lines of ClojureScript code to Google App Engine. Also, Walmart has been using Clojure "at scale" since before 2015. And based on a related tweet, the project at that time had 66 modules, 3000+ files, 560,000+ LOC (of Clojure). Last measure, Walmart was the largest US retailer at $374 billion annual revenue. I'd say their dependence on Clojure is a pretty good validation of the language's capability.