3 ms·
> I don't see how even hundreds of hours on leetcode would make you better at OOP, system modeling, building abstractions. Because you know the foundations. K
by WalterBright 4y ago
> I don't see how even hundreds of hours on leetcode would make you better at OOP, system modeling, building abstractions.
Because you know the foundations.
Knowing how a compiler works all the way down makes me a better programmer. Knowing assembler makes me a better high level language programmer. Knowing in detail how a car works makes me a better driver. Knowing how electricity works at the low level prevented a very costly mistake by the electrician who was wiring it (he had no idea). Knowing chemistry prevented a very costly mistake by the roofer of my house.
- KajMagnus 4y agoMore about algorithm questions vs system modeling: I'm thinking that 1) getting good at algorithms takes less time, than getting good at system modeling. — One will see one's mistakes sooner, within minutes, compared to system modeling, in which case one would need to stay at a workplace for months or years, to see how a system design eventually turned out to be a mistake? But 2) it's also harder to get good at hard algorithm questions — most people won't get that good at it, also with weeks and months of practice. And they still wouldn't have any real chance in a Google coding interview. And in that way, algorithm questions make sense? They give more information about the person's ability to think and learn — good for the company — and takes less time for the candidate to get good at (weeks or months — compared to working for years?), good for the candidate? (I'm someone else than GP) PS. I wonder what the electrician was up to? :- ) and the other one
- shard 4y agoOut of curiosity, what knowledge about electricity and chemistry did you have that prevented the mistakes?