Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.lang.misc Subject: Re: C's sins of commission Message-ID: <24573:Nov906:24:0790@kramden.acf.nyu.edu> Date: 9 Nov 90 06:24:07 GMT References: <1990Nov2.172508.6393@maths.nott.ac.uk> <1990Nov8.174042.24789@maths.nott.ac.uk> Organization: IR Lines: 13 In article <1990Nov8.174042.24789@maths.nott.ac.uk> anw@maths.nott.ac.uk (Dr A. N. Walker) writes: > >What you want to do is to represent entities, not be concerned about how > >the relevant encoding is done. > Just so, which is exactly why I am happy for my entities to > include pointers to other entities, and to let the compiler worry > about how it is actually done in machine code. Exactly! I really do think about data structures as boxes containing other boxes, some of which contain arrows to boxes. When I draw them, that's how I draw them, not as some abstract ``list'' or ``tree'' or ``recursive data structure'' (not that I know how you draw those). ---Dan