Quote:
Originally Posted by petrus4
...
I think one of his quotes from Donald Knuth there as well, implied that successful management of data structures, is much more important than being able to write complex logic; because if data is organised in a sufficiently elegant and effective way, logic won't need to be complex at all.
|
I remember a single data structure I needed with 14 or so levels. It was an objective need. I could split the data structure into a number of dimple ones, but that ultimately wouldn't have made my life easier.
The whole point was to just write nested loops and sleep well at night.
...
I reiterate my point - under the hood parsers are actually nested loops (or state machines, or both). And yes, I did talk about hiding the complexity. But one should always understand how many nested levels of nested loops are under the hood - this reflects algorithm complexity.