Link Details

Good things come to those who vote! Login and vote now.
Link 74940 thumbnail
User 111696 avatar

By bloid
via stainlesscode.com
Submitted: Apr 08 2008 / 15:03

Don’t get me wrong: I’m a huge fan of Apple, Mac computers and OS X. With few exceptions Macs are some of the finest computers around: elegant in design, well engineered, easy to use and friendly to advanced users.
  • 6
  • 4
  • 1657
  • 231

Comments

Add your comment
User 212444 avatar

bscarr replied ago:

0 votes Vote down Vote up Reply

Has this post been taken down? All I can see is a message that says "No blogs posted yet" :-(

User 278035 avatar

ararog replied ago:

0 votes Vote down Vote up Reply

+1 :(

User 280078 avatar

donarb replied ago:

-1 votes Vote down Vote up Reply

If you google for the title, you'll find the cached article. Basically, he's complaining that ObjC does not prevent illegal array accesses (like Java does!) and he spent 6 hours debugging it. He claims there was no indication of a problem, but that's just plain wrong. During debugging, the program will spit out a message to the console every time you get an illegal array access.

Maybe that's why he pulled it.

User 284162 avatar

Dan Stieglitz replied ago:

0 votes Vote down Vote up Reply

Hi, this is the author of the original blog post.

Actually it's true that there was no error message... I was using C-style arrays, not NSArray or any subclasses of NSArray. Being new to Objective-C I was unclear as to what method was best to use. Someone had posted a comment indicating that when you use regular C-arrays, array boundaries are not checked. To get errors when using arrays you need to use NSArray or a subclass.

User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

Yeah... looks like article has been pulled... I'll remove this link as well

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (4)