Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

To: RussP
As Nancy Leveveson of MIT said, it is one of the most error-prone languages ever designed.

It's NOT error prone... It simply assumes that the programmer REALLY wants to do what you told it to do. I learned C out of the 1st edition of the "White Book." Back before the ANSI standard and sissy features foisted on the users of other languages, like type checking and boundary checking on arrays: You must have had a reason to write to the 3000th element of that 10 element array!

Mark

50 posted on 10/13/2011 11:18:39 PM PDT by MarkL (Do I really look like a guy with a plan?)
[ Post Reply | Private Reply | To 8 | View Replies ]


To: MarkL

The most dreadful words from my Microprocessors prof in school: “it’s doing EXACTLY what you told it to” and walked away (it was ASM then, but the story is the same for C).


52 posted on 10/13/2011 11:23:19 PM PDT by 5thGenTexan
[ Post Reply | Private Reply | To 50 | View Replies ]

To: MarkL
You must have had a reason to write to the 3000th element of that 10 element array!

Actually... Some of us used that on purpose to write directly to memory.

And then came heap and stack and garbage collection.

And Firefox, with it's massive memory leak.

/johnny

54 posted on 10/13/2011 11:29:16 PM PDT by JRandomFreeper (gone Galt)
[ Post Reply | Private Reply | To 50 | View Replies ]

Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson