4 ms·
> Also, in any case, a constructed object is nothing like a partially applied function, so the parallel drawn is not useful. Are you being serious? The fact th
by gedbhrdvbhd 3y ago
> Also, in any case, a constructed object is nothing like a partially applied function, so the parallel drawn is not useful.
Are you being serious? The fact that closures and objects are dual is a frequently made observation. It’s not something the poster invented and it’s not (usually) controversial.
- ghusbands 3y agoAre you? Closures were not mentioned and are an implementation detail. In any case, an object and a bundle of closures being equivalent still has nothing to do with OP's talk of method calls being "easier to read and work[ing] better with autocomplete". Just read the original message upthread and try to make any useful meaning of it (especially in the context of turning add(1,2) into add 1 2).