Ask HN: Concepts that clicked only years after you first encountered them?
579 pointsI'm reading Petzold's Code [1], and it dawned on me that I didn't understand logic gates intuitively until now. I took a Computer Architecture course back in college, and I understood what logic gates meant in boolean algebra but not empirically. Petzold clarified this for me by going from the empirical to the theoretical using a lightbulb, a battery, wires, and relays (which he introduces when he talks about the telegraph as a way to amplify a signal).
Another concept is the relationship between current, voltage, and resistance. For example, I always failed to understand why longer wires mean more resistance while thicker wires mean less resistance.
[1]: https://www.codehiddenlanguage.com/
Comments (913) 203 threads
Show all comments
Showing thread 103 of 203
I got wrapped up sitting there memorizing ins and outs of each language and the ecosystem, others compositions in the form of Apache and the like.
Now it seems bizarre we’d think of it as anything but add, div, compare of electrical state in a memory address. It’s not a 1:1 machine translation but it’s the abstraction that’s made me most productive.
A whole lot of baggage comes with software that I’m hopeful ML libraries will allow us to retire. Currently wrapping UI around OpenCV to make my own “Photoshop”, for example.
I really can’t see any other way of approaching programming as anything but a waste of human agency. There are social problems we could be focused on if we were less focused on butts in chairs cranking out code.