4 ms·
Hybrid languages are sub-optimal in a lot of ways. One of the joys of functional programming are the guarantees that imperative languages can't offer (primarily
by macintux 3y ago
Hybrid languages are sub-optimal in a lot of ways. One of the joys of functional programming are the guarantees that imperative languages can't offer (primarily immutability).
- jprival 3y ago“Functional style” doesn’t offer the same guarantees, sure, but I wouldn’t underestimate the structural and readability benefits it can offer for certain kinds of tasks.
- Terr_ 3y agoThe moment you have any database or filesystem or remote-service, the hybridization starts anyway. Sure, technically a single computer's local RAM is being managed with strict guidelines, but that correlates less and less to overall application state and behavior these days.
- marcosdumay 3y agoThe promise of FRP was to solve this problem. It makes "state change" a first class object, and organizes your code around it. The problem is that nobody made an usable FRP system yet. It's not obvious why it's so hard, and everything feels like it should be easy. But everybody just keep failing.
- canadianfella 3y ago[dead]
- macintux 3y agoTrue, but you can isolate side effects. Knowing that a small collection of functions is not referentially transparent is better than having to deal with any part of the program potentially changing your state.
- dehrmann 3y ago> Hybrid languages are sub-optimal in a lot of ways. The real world is messy and stateful.