2 ms·
Yes I agree, pure functions are good building blocks (for the most part), but I don't think the current abstractions and ways of bridging the FP and Procedural
by raverbashing 11mo ago
Yes I agree, pure functions are good building blocks (for the most part), but I don't think the current abstractions and ways of bridging the FP and Procedural world are good enough
Also have you managed to eliminate the side effect of your IP register changing when your program is running? ;)
- dreamcompiler 11mo agoI love FP but at the end of the day registers are global variables. Half of modern compiler theory consists of workarounds for this sad truth.
- lucas_membrane 11mo agoA functional program is an a self-contained expression -- an isolated system following its own rules. The foremost example we have of such a thing is the universe itself, but the universe is not a good example in this discussion, because we have plenty of reasons to think that the universe contains pure (not pseudo-) randomness. Beyond that, isolation , when it matters, is not an easily proven proposition, and is a deplorable fantasy when assumed in many of the other science and engineering disciplines.
- mr_toad 11mo ago> but I don't think the current abstractions and ways of bridging the FP and Procedural world are good enough I find that both Python and Javascript allow you to use functional code when appropriate, without forcing you to use it when it isn’t.