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
mattsears181 reply#
Functions in calculus... I never understood them until I learned about functions in programming several years later. They're the same damn thing! I really wish I had learned to program before learning calculus.
peterfirefly#
Hopefully, you learned about functions long before calculus...

When we learned about functions back in something like 5th grade, I noticed that my classmates were very confused by the concept. I also remembered that I found the explanations in the book and the ones from our teacher quite unclear.
My guess back then was that the notation was partly to blame for that -- and I still think that's true.
So, my questions to you are:
1) were you taught the "f(x) = 3x + 2"-style notation? 2) have you seen the "x --> 3x+2"-style before? Or the "f: x --> 3x+2"-style, where we give the function the name f? 3) did you find it confusing that f(x) was sometimes used to refer to the function and sometimes to its value when applied to x? The notation of question 2 should eliminate that confusion.
I'm guessing that part of the confusion was also that your teachers were unclear on what functions could be used for -- but didn't they ask you to draw graphs for various functions? And didn't they also introduce functions like sin/cos/tan?

ahmadnoid#
That sometimes the extreme needs to manifest in order to pull toward the middle
abyesilyurt#
Specification vs Implementation: There could be only one specification, but many implementations. There is only one Python specification, but it has many implementations, cPython being the most popular.
atemerev#
The relationship between entropy and states of matter (including pressure and temperature). How “degrees of freedom” are calculated and compared for gas molecules, if they are infinite. All that stuff.

Load more comments