Lurker News
I'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

Earlier comments
hakanderyal1 reply#
Power of static typing, that it allows one to develop complex programs faster and better, not slower.
klysm1 reply#
I think the develop faster thing is a poor argument for static typing. The refactoring piece of the equation is the most important to me. Static types provide confidence (and speed) while making sweeping changes to code.
hakanderyal1 reply#
That's what I meant by developing faster. Refactoring is an indispensable part of the building process.
klysm#
Yeah totally agree that refactoring is part of development but I don’t think people frequently think about in comparison to maintenance.
23B1#
Simple one: understanding probabilistic vs. deterministic thinking = the serenity prayer*

The former is for dealing with any situation where we can't control the inputs and outputs. The latter is for when we can.
*"Grant to us the serenity of mind to accept that which cannot be changed; courage to change that which can be changed, and wisdom to know the one from the other."

mejutoco1 reply#
Complex numbers, as a convenient representation for certain operations, in the same way as we use negative numbers to represent debts.
klysm#
The certain operation almost always being rotation in my experience
criddell#
For me it was Microsoft’s COM and how it’s all powered by interfaces. It took a long time before it clicked for me. Fortunately, it didn’t really matter because 20+ years later, it’s still relevant. I’ve had plenty of time to work it out.

The other Windows-related idea that took an embarrassingly long time to work out is device / printer / memory contexts.

Load more comments