4 ms·
Oh this, yes! I remember reading "Practice of Programming" by Brian Kernighan and Rob Pike (which is a really, really fantastic book!), and it talks about the
by jnxx 7y ago
Oh this, yes!
I remember reading "Practice of Programming" by Brian Kernighan and Rob Pike (which is a really, really fantastic book!), and it talks about the importance of data structures.
https://en.wikipedia.org/wiki/The_Practice_of_Programming https://en.wikipedia.org/wiki/The_Practice_of_Programming
This comes up again and again, and it is so true! The core data structures are one of the most important aspects of a program. In fact, when I start to write a program, I think about the central data structures first. It is clear, that to a programmer who takes over a project, they need to be explained as one of the first and most important things.
- tpmx 7y agoHey, glad you liked my two wishes. Yes, data structures usually define programs. The code tends to follow more or less naturally from the data structure and the interactions with it. If you misdesign the key data structures of your program it will balloon in size and complexity. Edge case bugs will swallow you alive. If you make it just right typically (almost) everything will fall in place. This is still true in 2019, even with all of the distributed aspects that have been added to most programs/systems of programs. I agree about that book, it's good stuff.