53 karma · joined August 25, 2020
[1] And even that is misleading and not in any way "greener", since solar and wind can't be used on demand it has to replace some energy, which in this case is nuclear energy, but it can replace only a small part of it, the rest will have to be replaced with something that can be generated on demand, like coal and gas.
Although if you just want to control updates wumgr [1] still works, check it out. I use windows laptop pretty rarely, like a few times per year maybe and it helps a lot.
If by functional you mean higher order as in the title and not what is commonly known as FP - it's never been true. For example, a function that has no outside side effect and that calls an anonymous function provided as an argument is way easier to understand, reason about and maintain than its OOP equivalent of creating an object and calling three methods in specific order mixed with your code.
> These days people are taking a second look at functional because functional avoids state, which makes it easier to write concurrent code with no locks.
Avoiding state doesn't make it easier to concurrently touch shared memory without locks. Event loop style concurrency simply doesn't touch shared memory concurrently, so it doesn't need locks and doesn't have all those multithreading problems. It can still mutate state left and right, higher order programming just allows to map intent better to the code, making "sequences look sequential" and all that.
Actually solving problems concurrently with high performance today generally requires ditching shared memory based synchronously communicating concurrency models, leaving async communications of isolated entities where locking problems and overhead don't exist. But it has nothing to do with functional programming, OOP, higher order programming.