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

Show all comments

Showing thread 65 of 203

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.