4 ms·
> I was somewhat disappointed to find out an object was just a struct with some functions attached > when I learned that they were just bundles of existing dat
by dualogy 9y ago
> I was somewhat disappointed to find out an object was just a struct with some functions attached
> when I learned that they were just bundles of existing data types, though 'oh is that all?'
Uh-huh. When I learned how everything just translates to 0s and 1s in the end, I was also super "disappointed". Higher-level constructs and abstractions are new compositions of lower-level building blocks? How.. plain!
- seanmcdirmid 9y agoAnd all those zero and ones are still translated into electrons. Decomposing abstractions is often not very useful.
- MichaelBurge 9y agoAnd who says electrons exist as physical objects. They're just a mathematical abstraction physicists use to predict the results of experiments.
- taneq 9y agoThink about the difference between an int and a string, or a string and a function pointer. Now think about the difference between an int and a pair of ints. See?