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
Earlier commentsWhen 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?
All comments shown.
Couldn't load more comments. Check your connection and try again.