3 ms·
I'm just tired of the redundant reinvention of new "terms" for literally everything in JS. I don't want to know what an "atom" or a "proxy" or a "thunk" is. The
by ramesh31 4y ago
I'm just tired of the redundant reinvention of new "terms" for literally everything in JS. I don't want to know what an "atom" or a "proxy" or a "thunk" is. These are meaningless abstractions that simplify down to a store and a callback. Stop inventing terms to make yourself feel smart.
- acemarke 4y agoFWIW, the term "thunk" is a long-standing CS term that long predates Redux [0] [1] [2]. In fact, my first job back in 2008 involved a C++-based emulator/VM framework, and the devs used "thunk" to refer to jumping from the original program binary out to altered/replacement code written as C++ to add additional behavior or replace functionality. "Proxy" is also a long-standing term as well that describes wrapping or replacing functionality of a system, which is why it's used for HTTP servers and why it got used for a new JS capability in the ES2015 language spec. [0] https://en.wikipedia.org/wiki/Thunk https://en.wikipedia.org/wiki/Thunk [1] https://stackoverflow.com/questions/2641489/what-is-a-thunk https://stackoverflow.com/questions/2641489/what-is-a-thunk [2] https://devblogs.microsoft.com/oldnewthing/20081020-00/?p=20523 https://devblogs.microsoft.com/oldnewthing/20081020-00/?p=20...
- mechanicum 4y agoAnd “atom” comes from Clojure’s atomically updatable state. [0] [1] [0] https://clojure.org/reference/atoms https://clojure.org/reference/atoms [1] https://news.ycombinator.com/item?id=23183385 https://news.ycombinator.com/item?id=23183385
- proxyon 4y agoYou are literally complaining about Computer Science
- deleted 4y ago[deleted]