News for hackers. Stuff that matters.
Re:Apple JavaScript Coding Guidelines [pdf] by lucaswoj on Tuesday July 05, 2011 @04:07PM (#2731343)
I 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] by jarek-foksa on Wednesday July 06, 2011 @04:41AM (#2733028)
Function is not a separate data type in JavaScript, but they could probably list Object there (EcmaScript defines 6 types and 5 primitive values, I can't really find any definition of "primitive type")