3 ms·
When I was a kid and took programming lessons in high school, they taught us about linked lists,using Pascal or C. Back then, there weren't any list like data
by DeathArrow 4y ago
When I was a kid and took programming lessons in high school, they taught us about linked lists,using Pascal or C.
Back then, there weren't any list like data structures backed by arrays, like List from C# and Vector from C++.
But learning linked lists was a good thing, we also had to learn about pointers and how memory is layed out, so we also knew that sequential access to memory is faster. Also, learning about stack vs heap, CPU caches, made a big difference in how we wrote programs and how we continued to write programs 25 years later.
So I think I was lucky starting with Pascal and C, continuing with C++ instead of starting with Python or Javascript.
- LorenPechtel 4y agoMy general experience with education is that one is well served by knowing things a bit deeper than one actually uses them. Going one more layer down in education makes the stuff you actually do use make much more sense.