We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Fred Overflow · 6.8K views · 71 likes Short
Analysis Summary
Worth Noting
Positive elements
- This video provides a concise technical explanation of the semantic differences between Clojure's reduce and transduce functions regarding initial values.
Be Aware
Cautionary elements
- The use of 'revelation framing' (suggesting 'no one knows' the rules) to make a common technical trade-off seem like a hidden flaw.
Influence Dimensions
How are these scored?About this analysis
Knowing about these techniques makes them visible, not powerless. The ones that work best on you are the ones that match beliefs you already hold.
This analysis is a tool for your own thinking — what you do with it is up to you.
Related content covering similar topics.
Datomic Cloud - Datoms
ClojureTV
The Taming of the Deftype Baishampayan Ghose
Zhang Jian
Exercism Summer of Sexp - solving challenges with Clojure
Practicalli
A Primer on Match Expressions in Scheme - Learning Guile Scheme
System Crafters
Debugging Clojure with Conjure and Neovim
Olical
Transcript
okay so what does transduced do it calls reduce right but before a call is reduced so so the it supports the same form of uh reduce here but it actually has different semantics of reduce who knows what the semantics of reduce are when you call it with the collection and no initial value no one right no one knows it's a ridiculous complex rules it's one of the worst things I ever I copied from common list was definitely the semantics of reduce it's very complex if there's nothing it does one thing if there's one thing it does a different thing if there's more than one thing it does another thing it's much more straightforward to have it be monoidal um and just use f to create the initial value and that's what transduce does so transduce says if you don't Supply me any information f with no arguments better give me an initial value
Video description
https://www.youtube.com/watch?v=4KqUvG8HPYo