Douglas Crockford is an American computer programmer who is involved in the development of the JavaScript language. He specified the data format JSON (JavaScript Object Notation), and has developed various JavaScript related tools such as the static code analyzer JSLint and minifier JSMin.[1] He wrote the book JavaScript: The Good Parts, published in 2008, followed by How JavaScript Works in 2018. He was a senior JavaScript architect at PayPal until 2019, and is also a writer and speaker on JavaScript, JSON, and related web technologies.
Education
Crockford earned a degree in Radio and Television from San Francisco State University[2] in 1975. He took classes in FORTRAN and worked with a university lab's computer.[3]
After Warner Communications sold the company, he joined National Semiconductor. In 1984 Crockford joined Lucasfilm,[3] and later Paramount Pictures. He became known on video game oriented listservs in the early 1990s after he posted his memoir "The Expurgation of Maniac Mansion" to a video gaming bulletin board. The memoir documented his efforts to censor the computer game Maniac Mansion to Nintendo's satisfaction so that they could release it as a cartridge, and Crockford's mounting frustrations as Nintendo's demands became more obscure and confusing.[7]
Together with Randy Farmer and Chip Morningstar, Crockford founded Electric Communities and was its CEO from 1994 to 1995. He was involved[clarification needed] in the development of the programming language E.[8]
During his time at State Software, Crockford popularized the JSON data format, based upon existing JavaScript language constructs, as a lightweight alternative to XML. He obtained the domain name json.org in 2002, and put up his description of the format there.[10] In July 2006, he specified the format officially, as RFC 4627.[11]
This section needs expansion. You can help by adding to it. (September 2022)
In 2008 Crockford published a book announcing his discovery that JavaScript, contrary to prevailing opinion, has good parts. He describes this as "heresy", and as "maybe the first important discovery of the 21st century", noting that it came as a "big surprise to the JavaScript community, and the world at large."[12] He attributes the discovery to his having read the ECMAScript Standard, which he says "literally changed my life."[13] He also notes that the specification document is of "extremely poor quality", "hard to read", "hard to understand", and says that the ECMA and the TC39 committee "should be deeply embarrassed".[14]
In 2002, in reference to President George Bush's war on "evildoers", Crockford started releasing his JSMin software under a customized open source MIT License, with the added requirement that "The Software shall be used for Good, not Evil". This clause was carried over to JSMin-PHP, a variation of JSMin by Ryan Grove. This software was hosted on Google Code until December 2009 when, due to the additional clause, Google determined that the license was not compliant with the definition of free and open source software, which does not permit any restriction on how software may be used.[15][16] JSMin-PHP was forced to migrate to a new hosting provider.[17][18] According to the GNU project, the licence conflicts with Freedom 0 of the Free Software definition, and although "it may be unenforceable, we cannot presume that", therefore non-free.[19]
Crockford's license has caused problems for some open source projects who mistook the license for an open source variant of the MIT license. Affected open source developers have asked Crockford to change the license, but he has continued to use it.[20][21][22] In 2022, Crockford changed the license in the JSON Java implementation to Public Domain.[23]
In media
Crockford is listed in the acknowledgements of the 1995 hardcover edition of The Diamond Age, by Neal Stephenson as Douglas (Carl Hollywood) Crockford.