Profile

Cover photo
Douglas Crockford
Works at PayPal
Lives in San Jose
19,634 followers|2,538,444 views
AboutPosts
Communities
Work
Occupation
The Boss of You
Employment
  • PayPal
    present
Basic Information
Gender
Male
Story
Tagline
_ __ ___ ____ _____ In the Twenty First Century!
Introduction
On the internet, nobody knows you're a Doug.
Bragging rights
I discovered the JSON Data Interchange Format. I also discovered that JavaScript has good parts. That was the first important discovery of the 21st Century.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
San Jose

Stream

Douglas Crockford

Shared publicly  - 
 
Some foods can cause disease. Some foods can prevent or cure disease. These books explain why some foods are good for you, why some foods are bad for you, how the foods got to be that way, and how we got to be that way.

The China Study, T. Colin Campbell and Thomas M. Campbell II
How Not to Die, Michael Greger
Salt Sugar Fat, Michael Moss
The Story of the Human Body, Daniel Lieberman
7
2
Jerry Morrison's profile photo
 
Why, oh why, is it so hard to get solid science on nutrition?

I don't know about the other 3, but The China Study is heavily debunked.
https://rawfoodsos.com/2010/07/07/the-china-study-fact-or-fallac/

Douglas Crockford

Shared publicly  - 
 
I will be at Node Festival in Shibuya.
 ·  Translate
Node.js日本ユーザグループは、ECMAScriptの仕様化団体の一人であり、JSONの開発者でもある Douglas Crockford 氏、WhatWG Social Activity WG の仕様化を進める一人であり、 Node.js core committer でもある James Snell 氏、 ECMAScript 仕様化団体の一人であり、 Node のモジュールエコシステムの今後の鍵を握る Bradley Meck 氏、デスクトップアプリ開発が可能な Electron の作者である Cheng Zhao 氏、 React/Redux をベースに次世代の フロントエンド開発フレームワークである choo の開発を進める Yoshua Wuyts 氏を迎えて2016年のNode学園祭を開催いたします
6

Douglas Crockford

Shared publicly  - 
 
I am looking for some dates in Yahoo history.

1. The date login.yahoo.com uses SSL.

2. The date Yahoo allows users to request SSL for pages other than login.

3. The date Yahoo uses SSL for everything. 2014-01-08. https://yahoomail.tumblr.com/post/64066333170/our-commitment-to-your-security-launching-https
by Jeffrey Bonforte, SVP of Communication Products At Yahoo, we take the security of our users very seriously. In a constantly changing digital environment, we recognize the need to continuously evaluate how to best protect your information. Yahoo Mail users can already enable https [or Secure Sockets Layer (SSL)], a communications protocol that securely encrypts your information and messages as they move between your browser and Yahoo’s se...
6
Douglas Crockford's profile photo
 
Using archive.org, I determined that Date 1 is September-October 2006.

Thank you, archive.org.

Douglas Crockford

Shared publicly  - 
 
I am certain that autonomous automobiles will kill many people, especially passengers and pedestrians. But they will kill far fewer than human controlled automobiles, which kill a 9/11 of humanity every month. We consider that level of accidental death to be acceptable. We will hold the machines to a much higher standard.
43
4

Douglas Crockford
owner

Discussion  - 
 
finally

Java has finally to mitigate its lack of functions. finally implements an implied function call. Implied functions are very powerful, perhaps too powerful, providing more weirdness and confusion than utility.

Should JSLint warn when a finally clause alters the control flow? Should JSLint warn about all finally clauses?
39 votes  -  votes visible to Public
Warn on *finally*
49%
Warn on *finally* with *return*, *break*
36%
Do not warn on *finally*
15%
2
Hector Rivas's profile photoDouglas Crockford's profile photoAlex Babis's profile photo
10 comments
 
My point was that you wouldn't want finally for async code, but that I wasn't sure for synchronous code. The problem I see, is that instead of try-catch-finally, you end up with a try-catch inside a try-catch, which I would have a harder time reading. I suppose the counter to that is that you should write your code in such a way that you always handle errors before running the "finally" code, making "finally" semantics unnecessary. Is that what's being argued?
Add a comment...

Communities

Douglas Crockford

Shared publicly  - 
 
I will be presenting again as always at Silicon Valley Code Camp.
Welcome To Our 11th Annual Event. We Still Need -1 More Volunteers! (202 have volunteered so far). Volunteer Now! 163 Sessions; 1877 Registered. Code Camp is a community event where developers learn from fellow developers. We also have developer related topics that include software branding, ...
12

Douglas Crockford

Shared publicly  - 
 
This November, vote or get off the pot.
12
1

Douglas Crockford

Shared publicly  - 
Douglas Crockford is working on a the Sief Project, which is designed to do away with passwords and make the Internet more secure.
9
2

Douglas Crockford

Shared publicly  - 
 
The Seif Handshake
4

Douglas Crockford

Shared publicly  - 
 
I will be headlining at Modern Web 2016.
 ·  Translate
Modern Web 2016將在8/24-25兩日,在台北文創舉行。今年Modern Web 2016邀請到JSON格式與《JavaScript:優良部份》作者 Douglas Crockford和Google、Nginx高手們進行主題演講,揭示Web發展動態。另外有中國Web/電子商務專家齊聚,完全解密他們在Web產業的實踐經驗,還有台灣業界高手不藏私分享。最精彩的Web技術分享與交流,就在Modern Web 2016
14

Douglas Crockford
owner

Discussion  - 
 
Should JSLint warn on nested try statements?
51 votes  -  votes visible to Public
Yes
73%
Yes, except for try in a catch
20%
No
8%
2
Douglas Crockford's profile photoAlex Babis's profile photoChris Nielsen's profile photo
8 comments
 
Perhaps not disallowed, but they should be viewed with suspicion and justified by the coder.

Any function should be as complex as necessary, but no more than that. A single function that contains multiple "try" statements is, by definition, doing more than one potentially exceptional operation. This is a code smell. Could such code really not be simplified further? Does it really not make more sense to break it apart into smaller steps?
Add a comment...