Profile

Cover photo
Douglas Crockford
Works at PayPal
Lives in San Jose
1,988,798 views
AboutPosts

Stream

Douglas Crockford

Shared publicly  - 
 
I was very disappointed with Tomorrowland. I liked the cast and their performances. I liked the visual design of the movie. But the story was very weak and we don't really get to Tomorrowland, which seemed like the point.

Walt Disney's Tomorrowland was plausible. Everything in the park either worked or looked like it could work. The big idea was that we could experience the future in Tomorrowland, and then anticipate building those things at home. But in the film, nothing is plausible. We are not there to try on the future, but to get preached at, that our failures are preventing an impossible interdimensional fantasy from become real. This film was a wasted opportunity. They should have trusted in Walt's message. Walt had it right.
18
1
Chan Weng Wong's profile photo

Douglas Crockford

Shared publicly  - 
 
I will be in Tel Aviv next month.
The first international conference of its kind to be held in Israel, will take place in Tel Aviv from June 8th through June 9th, 2015. To kick off the inaugural edition of this annual conference, the world’s top three leaders in the field of front-end development will be among the featured guest speakers. The two-day conference will bring together the best of the best in front-end development from across the globe as well as from across Israel. ...
9

Douglas Crockford

Shared publicly  - 
 
I just got a call from a robot 607-724-9716. The robot identified itself as the IRS. This call was violating at least one federal law. It should not be difficult to find the miscreant since we have the phone number. How do we report stuff like this?
14
1
William Brine's profile photoRobert Cooper's profile photoJerry Morrison's profile photoMichael Dowden's profile photo
3 comments

Douglas Crockford

Shared publicly  - 
 
I gave desperate warnings against the obscurity, the complexity, and overambition of the new design, but my warnings went unheeded. I conclude that there are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.

C. A. R. Hoare
The Emperor's Old Clothes  1981
75
15
Adam Avramov's profile photoScott Gamon's profile photo

Douglas Crockford
owner

Discussion  - 
 
If a line is broken at a dot, the indentation is increased by 4. This is to visually support method chains.
5
Add a comment...

Douglas Crockford
owner

Discussion  - 
 
The BETA version is now on Github and on http://jslint.com.
The old version is still available at http://old.jslint.com.
9
1
Norbert Fuhs's profile photoЕвгений Орехов (Evgeny Orekhov)'s profile photoDouglas Crockford's profile photoJay Pee's profile photo
3 comments
 
1. The new version is smarter about mutual recursion.

2. There are so many security vulnerabilities around regular expressions that the whole field is a lost cause. It seemed pointless to single out '.'.

3. var and let are treated the same way by JSLint, which enforces their intersection. That gives you the ability to replace all var with let or all let with var without changing the meaning of the program.
Add a comment...

Douglas Crockford

Shared publicly  - 
 
I have a Microsoft Surface Pro 3 that I use for checking company email. It is small and light, so I stuff it in my suitcase. The last three times I checked my bag, the TSA opening my bag. There is something about the Surface that terrifies them.

I have been experimenting with placement with the aim of avoiding the search, but so far, no solution.

Is there a way to pack a Surface in a suitcase that will not alarm the TSA?
16
1
David Megginson's profile photoRadu Micu's profile photoDouglas Crockford's profile photoPalle Cogburn's profile photo
5 comments
 
Yesterday I flew with the Surface for the fourth time. This time, TSA put the notice of baggage inspection in the Surface between the keycover and glass.

Communities

Douglas Crockford

Shared publicly  - 
 
San Jose has been in the Top 10 for a while, but it is now in the Million club.
The U.S. Census Bureau confirms San Jose is among the 10 U.S. cities with a population of 1 million or more. The Capital of Silicon Valley is the 10th most populous U.S. city with 1,015,785 residents. According to the Census Bureau, California now has three cities - Los Angeles, San Diego, and San Jose - with 1 million or more people. http://ow.ly/NfgC4
4

Douglas Crockford

Shared publicly  - 
 
I'll be in Oakland May 21.
The web was originally imagined to be a simple distributed document retrieval system. It is now being used for applications that go far beyond the system's original capabilities and intentions. We have found ways to make it work, but they are difficult and far too fragile. Many times companies have offered to replace the web with superior proprietary systems, but we rejected them. We have been adding features to the web, but this does little to c...
10
2
Valentin P's profile photomargot lester's profile photo

Douglas Crockford

Shared publicly  - 
 
On the evening of January 16, 1970 the author heard Dr. Richard W. Hamming deliver in New York City a lecture titled "One Man's View of Computer Science." This lecture was an updated version of his 1968 Turing Award lecture of the same title. The theme of Dr. Hamming's lecture was that individual programmers could not continue to write programs in their own particular undisciplined way with little regard for others who might have to understand them (document, use, debug, or modify them) at some later date. Dr. Hamming said that programmers would have to change their ways and adopt some limited set of standards lest the world become populated with more differently styled programs than could possibly be maintained. And he said that needed new techniques were evolving. He was right, for software engineering has just started.

Since then, the emphasis has been on understandable and orderly programs and systems, not on individualized, tricky, superefficient, anything-goes coding.

Richard B. Hurley
Decision Tables in Software Engineering 1983
43
9
Fábio Uechi's profile photoJeremy Bandini's profile photoNorm Heske's profile photoАнатолий Демидович's profile photo
 
Not enough emphasis, though. Cowboys still exist.

Douglas Crockford

Shared publicly  - 
 
I hate ints because ints cause bugs. This one can literally crash your plane.
Have you turned it off and on again? That's the way to stop the plane becoming a brick
42
25
Alex Akimov's profile photonavaneeth agastya's profile photoManu Gupta's profile photoLaurent Capin's profile photo
4 comments
 
2^31 centiseconds is 248.55 days.  Why centiseconds instead of milliseconds?

Also, small integers are important when you're recording trillions of them every day. 

Douglas Crockford

Shared publicly  - 
 
Indeed, one of my major complaints about the computer field is that whereas Newton could say, "If I have seen a little farther than others it is because I have stood on the shoulders of giants," I am forced to say, "Today we stand on each other's feet."

Richard Hamming
58
7
Shaunak Jadav's profile photoEnder Muab'Dib's profile photo
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