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...
Apple JavaScript Coding Guidelines [pdf]
21–29 of 29 posts
Re: Apple JavaScript Coding Guidelines [pdf]
#22Re: Apple JavaScript Coding Guidelines [pdf]
#23Earlier quoted context omitted.
I find it strange that you refer to comments starting with # as Ruby-style comments.
I'm pretty sure Ruby is bigger than Perl and sh put together now, at least in mindshare.
Re: Apple JavaScript Coding Guidelines [pdf]
#24Re: Apple JavaScript Coding Guidelines [pdf]
#25Earlier quoted context omitted.
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...
I think the OP's link is actually to the PDF. HN adds the automatic Scribd link whenever someone posts a link to a PDF.
Re: Apple JavaScript Coding Guidelines [pdf]
#26I have a strong reason to suspect that this was written by an intern who was relatively new to the language. It seems to be written by someone in the C/C++/Java mindset (ie how they didn't list "function" as a primitive data type)
Re: Apple JavaScript Coding Guidelines [pdf]
#27Man, what a piece of shit. Apple should pull this immediately.
Good that I saw this before reading the pdf. Can you point me to a better resource?
Re: Apple JavaScript Coding Guidelines [pdf]
#28Earlier quoted context omitted.
I think the OP's link is actually to the PDF. HN adds the automatic Scribd link whenever someone posts a link to a PDF.
Wow, that's horrible.
http://www.scribd.com/doc/50406482/Hacker-News-Integrates-Wi...
Re: Apple JavaScript Coding Guidelines [pdf]
#29Earlier quoted context omitted.
I'm pretty sure Ruby is bigger than Perl and sh put together now, at least in mindshare.
python and PHP also support # for making comments. It could be argued that python has just as much if not more mindshare than ruby. :)