Comment

Comment by function_seven

This begs the question the video is trying to answer. Imagine you have no experience or knowledge of what electricity is or how it works. Then you learn the bare basics. You might have this same question, "how does it 'know' which path has the least resistance?"

The pepper demonstration in the video is a good analogy to show how the resistance information of every possible path (or, really, stub) is "back-propagated" to the branching point. No, it's not a perfect description of what is really going on, but I dare say there's no such thing. Just better and better models.

If I have a wire that connects from (+) to (-) on a battery, and a dozen wires that branch off of (-) and go nowhere, how does the current "know" not to waste time trying each of those stubs? This video explains that.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton