djcb comments on Conversation Halters - Less Wrong

38 Post author: Eliezer_Yudkowsky 20 February 2010 03:00PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (94)

You are viewing a single comment's thread. Show more comments above.

Comment author: djcb 22 February 2010 09:41:41PM 1 point [-]

well, going slightly off-topic here; it's not strictly forbidden to write past the end of the array, it's just that the result is undefined. Depending what's on the stack, it might actually work in some cases. Needless to say, one should never do this.

Comment author: Jiro 27 March 2014 06:56:37PM 1 point [-]

He was probably confusing it with the idea that it is legitimate have a pointer that is one past the end of an array for the purpose of comparing pointers. You still can't dereference it reliably, however.

Comment author: [deleted] 23 February 2010 02:58:52AM 0 points [-]

Er, s/run/run properly/.