Live data from Hacker News

Apple JavaScript Coding Guidelines [pdf]

developer.apple.com

1–10 of 29 posts

Re: Apple JavaScript Coding Guidelines [pdf]

#6

For those who would prefer an HTML version: http://developer.apple.com/library/mac/#documentation/Script...

Or the actual PDF itself, which lacks the Scribd™ value-added feature of banner ads on every page:

http://developer.apple.com/library/mac/documentation/Scripti...

Re: Apple JavaScript Coding Guidelines [pdf]

#7
> Just as you used the new

> operator to create an object, you should delete objects when you are finished withthem, like this:

> delete myObjectVariable;

What a bunch of crap? Have these guys even looked at the specs?

And chapter on inheritance really makes me cry...

Re: Apple JavaScript Coding Guidelines [pdf]

#8
post #3

Most of the examples use C style curly braces, maybe Crockford needs to do an "Apple Tech Talk". http://www.youtube.com/watch?v=hQVTIJBZook

Or just read this? http://javascript.crockford.com/code.html

I guess Crockford is like K&R for JS's conventions.

Post reply on HN