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
richardw#
In OO, the interface. It seemed like the most useless construct. Zero implementation. Why make something with no implementation?

Later I realised that the benefit isn’t the code, it’s the freedom you gain later in choosing the implementation. You can create an interface and add a simple implementation, then later swap it out for something more robust. All you’re agreeing to now is the contract of what needs to be done, without any restrictions on how.

user3939382#
f(x) = y etc in linear algebra in school. By the time I was learning this in high school I’d already been programming for several years and perfectly understood the concept of function inputs and outputs. It wasn’t until my early twenties that I realized this was just an alternate notation for functions and was so simple.

Sad that my math education was just focused on “memorize steps” for concepts that weren’t clearly explained.

mmcconnell1618#
Compound Interest. The idea and the numbers made sense but it is only with many more decades of life that I understand how much impact time has on compounding. If I had understood this when I was younger, I would have made different choices in regards to saving more. Small sacrifices when you're younger and can easily tolerate them, have massive dividends later in life.
ChrisMarshallNY#
In my case, almost everything has been like that.

1) I learn rote.
1.1) Almost no improvement.
2) I "get it."
2.1) My development in that area suddenly explodes.
This has happened with almost every software concept, from calculus, to Structured Programming ("Whatever will I do without my precious GOTOs?"), to Object-Oriented Programming, to Design Patterns, to Protocols, etc.
It usually only takes weeks or months, but I suspect some have taken years.

Load more comments