Apple JavaScript Coding Guidelines [pdf]
developer.apple.com
Apple JavaScript Coding Guidelines [pdf]
1–10 of 29 posts
Re: Apple JavaScript Coding Guidelines [pdf]
#2Re: Apple JavaScript Coding Guidelines [pdf]
#3Re: Apple JavaScript Coding Guidelines [pdf]
#4Re: Apple JavaScript Coding Guidelines [pdf]
#5I find it strange that the "Global Scope Considerations" section uses Ruby-style inline comments (#) rather than actual JS inline comments (//).
Re: Apple JavaScript Coding Guidelines [pdf]
#6For those who would prefer an HTML version: http://developer.apple.com/library/mac/#documentation/Script...
http://developer.apple.com/library/mac/documentation/Scripti...
Re: Apple JavaScript Coding Guidelines [pdf]
#7> 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]
#8Most of the examples use C style curly braces, maybe Crockford needs to do an "Apple Tech Talk". http://www.youtube.com/watch?v=hQVTIJBZook
I guess Crockford is like K&R for JS's conventions.
Re: Apple JavaScript Coding Guidelines [pdf]
#9Re: Apple JavaScript Coding Guidelines [pdf]
#10Man, what a piece of shit. Apple should pull this immediately.