Quantcast
David Flanagan

Biography

David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.

Books

The Ruby Programming Language The Ruby Programming Language
by David Flanagan , Yukihiro Matsumoto
January 2008
$39.99 USD
starstarstarstarstar
(Read Reviews)

JavaScript: The Definitive Guide JavaScript: The Definitive Guide
by David Flanagan
Fifth Edition August 2006
$49.99 USD
starstarstarstarstar
(Read Reviews)

Java in a Nutshell Java in a Nutshell
by David Flanagan
Fifth Edition March 2005
$44.95 USD
starstarstarstarstar
(Read Reviews)

Java 5.0 Tiger: A Developer's Notebook Java 5.0 Tiger: A Developer's Notebook
by David Flanagan , Brett McLaughlin
June 2004
$29.95 USD
starstarstarstarstar
(Read Reviews)

Java Examples in a Nutshell Java Examples in a Nutshell
by David Flanagan
Third Edition January 2004
$39.95 USD
starstarstarstarstar
(Read Reviews)

JavaScript Pocket Reference JavaScript Pocket Reference
by David Flanagan
Second Edition October 2002
$9.95 USD
starstarstarstarstar
(Read Reviews)

Java Enterprise in a Nutshell Java Enterprise in a Nutshell
by William Crawford , Jim Farley , David Flanagan
Second Edition April 2002
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Java In a Nutshell Java In a Nutshell
by David Flanagan
Fourth Edition March 2002
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

JavaScript: The Definitive Guide JavaScript: The Definitive Guide
by David Flanagan
Fourth Edition November 2001
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Java Examples in a Nutshell Java Examples in a Nutshell
by David Flanagan
Second Edition September 2000
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Java Foundation Classes in a Nutshell Java Foundation Classes in a Nutshell
by David Flanagan
October 1999
$29.95 USD
starstarstarstarstar
(Read Reviews)

Java Enterprise in a Nutshell Java Enterprise in a Nutshell
by Kris Magnusson , David Flanagan , Jim Farley , William Crawford
September 1999
OUT OF PRINT

(Read Reviews)

JavaScript Pocket Reference JavaScript Pocket Reference
by David Flanagan
October 1998
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Javascript: The Definitive Guide Javascript: The Definitive Guide
by David Flanagan
Third Edition June 1998
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

X Toolkit Intrinsics Ref Man R5 X Toolkit Intrinsics Ref Man R5
Third Edition August 1992
$44.95 USD

Java in a Nutshell Java in a Nutshell
by David Flanagan
Second Edition January 1900
OUT OF PRINT

(Read Reviews)

Java in a Nutshell, Deluxe Edition Java in a Nutshell, Deluxe Edition
by David Flanagan
January 1900
OUT OF PRINT

Volume 6C: Motif Tools Volume 6C: Motif Tools
by David Flanagan
January 1900
OUT OF PRINT

JavaScript: The Definitive Guide, Beta Version JavaScript: The Definitive Guide, Beta Version
by David Flanagan
January 1900
OUT OF PRINT

Netscape IFC in a Nutshell Netscape IFC in a Nutshell
by Dean Petrich
January 1900
OUT OF PRINT

JavaScript: The Definitive Guide JavaScript: The Definitive Guide
by David Flanagan
Second Edition January 1900
OUT OF PRINT

(Read Reviews)

Java in a Nutshell Java in a Nutshell
by David Flanagan
January 1900
OUT OF PRINT

Java Reference Library on the Web Java Reference Library on the Web
by John Zukowski , Josh Peck , Patrick Niemeyer , Mark Grand , David Flanagan
January 1900
OUT OF PRINT

Programmer's Supplement for R5 of the X Window System Programmer's Supplement for R5 of the X Window System
by David Flanagan
January 1900
OUT OF PRINT

Java Examples in a Nutshell Java Examples in a Nutshell
by David Flanagan
January 1900
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Java Professional Library Java Professional Library
by Kris Magnusson , David Flanagan , Jim Farley , William Crawford
January 1900
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Java Power Reference Java Power Reference
by David Flanagan
January 1900
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Java in a Nutshell Java in a Nutshell
by David Flanagan
Third Edition January 1900
OUT OF PRINT
starstarstarstarstar
(Read Reviews)

Articles

Blog

David's blog posts are hosted at:
http://davidflanagan.com

$SAFE is Proc-local

November 14 2008

While researching Ruby's new-in-1.9 Object methods untrusted?, untrust, and trust, I discovered something I did not know about the $SAFE variable: in addition to being Thread-local, it is also Proc-local. Proc objects (both procs and lambdas) have their own... read more

Bending the Arc of History

November 06 2008

President-elect Obama sure writes and delivers a great speech! My favorite line from his victory speech last night: put their hands on the arc of history and bend it once more toward the hope of a better day. I... read more

comments broken

October 28 2008

I've migrated my site to a new webhost, and am now trying to upgrade my blogging software... Comments are broken, and other stuff is too!... read more

Method Chaining Part 2

October 28 2008

The comments on my last post about method chaining in JavaScript were spectacular, and I want to publicly thank all who took the time to read my code and think about it. The final version of the code (which you... read more

Method chaining in JavaScript inheritance hierarchies

October 28 2008

In the 5th edition of my JavaScript book I made the embarrassing mistake of recommending a constructor and method chaining technique that only works for shallow class hierarchies--it works when class B extends A, for example, but not when... read more

Ruby Review Roundup

October 28 2008

The Ruby Programming Language has been gratifyingly well received by readers and reviewers. In addition to glowing reviews at rubyinside.com and slashdot.org, it has been reviewed ten times at amazon.com and I proud to say that all ten reviews... read more

Errata for my Ruby Book

October 28 2008

I've put together a list of 81 errors and updates to my Ruby book. These are fixed in the next printing. If you already own a copy of the book, however, you can go through and enter the changes... read more

Help fix up my book, please

October 28 2008

The Ruby Programming Language is going to be reprinted next week, and O'Reilly has given me SVN write access to the docbook files to fix typos, errors, etc. I've got a list of about 25 relatively minor erros that... read more

Will C++ get Closures before Java does?

October 28 2008

I just read that closures are being added to C++ [PDF link]. A note to Sun: you know your language is falling embarrassingly behind if the C++ standards committee can move more nimbly than you can! (For those who... read more

5 Years in Iraq

October 28 2008

Tomorrow marks the 5th anniversary of Bush's war with Iraq. The costs: 3990 US soldiers dead That is more than 2 per day. 20,416 US soldiers wounded (badly enough to require air transport). That's more than 11 per day.... read more

Welcome Slashdot Readers

October 28 2008

If you arrived here after reading slashdot's review of The Ruby Programming Language, you've come to the right place. Thanks, Brian, for the kind words! The post below includes links to the book's table of contents and to an... read more

Finally!

October 28 2008

The Ruby Programming Language is finally in stock and shipping from online booksellers! Press Release: actually quite a good overview of the book, who it is for and the niche it hopes to fill. Preview: an interactive table-of-contents, with... read more

Preview my Ruby book

October 28 2008

I've just discovered that the O'Reilly website now displays a browsable table of contents that allows you to preview the start of each chapter and each section of my book. In other book news, Amazon is still listing the... read more

Examples from my Ruby book now online

October 28 2008

All the example code from my Ruby book is now available for download. As I've mentioned before, you can also browse the book's table of contents.... read more

Last day for Amazon's pre-order discount

October 28 2008

Amazon continues to say that my Ruby book will be in stock tomorrow. So today is the last day that you can pre-order the book and save an additional 5% on it. As I type this, they're listing it... read more