3 ms·
> and which can be comparatively far more sinister and nefarious to debug. This is kind of a false dichotomy as well written fp, type code is tends to have few
by adamnemecek 9y ago
> and which can be comparatively far more sinister and nefarious to debug.
This is kind of a false dichotomy as well written fp, type code is tends to have fewer bugs. Also your argument that more people understand it doesn't mean much as few people understand something they haven't been exposed to.
> hot-synching whole data centers
It actually does. There was a podcast with Paul Chiusano who is a big proponent of this type of programming http://futureofcoding.org/episodes/10-unisons-paul-chiusano-on-how-abstraction-will-save-distributed-computing.html http://futureofcoding.org/episodes/10-unisons-paul-chiusano-.... IIRC Spark is based on Algebird which is somewhat close to this type of programming. Commutativity is a life saver for distributed computing.
- yahyaheee 9y agoIn my experience FP code is more buggy, but I imagine there's a lot that goes into it
- adamnemecek 9y agoWhat particular language are you talking about?
- yahyaheee 9y agoMainly scala, but I've used some clojure as well. Ever since learning Go, I just haven't looked back. I think FP does well with streaming problems, but outside of that it seems to have a cognitive overhead that doesn't pay
- kafkaesq 9y agoCommutativity is a life saver for distributed computing. Nice to know, and I wish I understood these issues, and these kinds of arguments better. I'm just saying - the original blog post didn't come anywhere near to making that kind of an argument.
- tome 9y ago> This is kind of a false dichotomy as well written fp, type code is tends to have fewer bugs. I tentatively agree but I would caution you against making such claims in public because they are hard to rigorously justify and can end up making functional programmers just look arrogant.