Xref: utzoo comp.sys.ibm.pc:23023 comp.sys.intel:655 Path: utzoo!attcan!uunet!lll-winken!ames!haven!uvaarpa!babbage!mac3n From: mac3n@babbage.acc.virginia.edu (Alex Colvin) Newsgroups: comp.sys.ibm.pc,comp.sys.intel Subject: unsafe computing (Was: correct code for pointer subtraction) Summary: not for unsupervised use Keywords: C pointer math runtime errors Message-ID: <492@babbage.acc.virginia.edu> Date: 10 Jan 89 14:55:32 GMT References: <597@mks.UUCP> <3845@pt.cs.cmu.edu> <18123@santra.UUCP> <5178@lynx.UUCP> Organization: University of Virginia Lines: 16 > problem the compiler writer had to deal with. If a translator for a > language exists on a machine, it should translate programs into a form > that executes correctly on the target machine, or at least inform the > operator that a problem exists. That's the whole point of a high level > language. presumaby you expect C to detect arithmetic overflow as well. and subscript errors. and invalid pointers and ... C is not a high level language. C is not a language for the average programmer. its wholesale adoption by the PC community is a disaster for both the language and that community. perhaps you should consider something in the Pascal line.