KBD

Keith Devens .com

Friday, March 19, 2010 Flag waving
Show, don't tell. – unknown

Archive: July 09, 2005

← July 08, 2005July 10, 2005 →

Daily link icon Saturday, July 9, 2005

$continuation = \&return;

I just noticed Autrijus Tang's concise explanation of continuations (via, via, but main post blogged earlier):

Just today I tried to explain continuations to two fellow Perl programmers, and I came up with the notion that it's just:

$continuation = \&return;

They grokked it instantly.

If continuations find general use (one reason I'm looking forward to Perl 6 is I want to see what happens when the creativity of the Perl community is unleashed on continuations) programming will become much more interesting.

Slashdot | The New C Standard

Slashdot | The New C Standard:

At a very late stage Addison Wesley decided not to publish my book, 'The New C Standard: An economic and cultural commentary'. Now that the copyright issues have been sorted out I am making the pdf freely available... One major new angle is using the results from studies in cognitive psychology to try and figure out how developers comprehend code.

That last bit is what I'm most interested in. I wonder if they show an advantage for the One True Brace Style. Smiley

Update: My goodness, the article says that the book is "1616 pages long and written over the course of several years". What a disappointment it must be for the author that it's not being published.

Update: Heh, from the book:

The examples in this book are generally intended to illustrate some corner of the language. As a general rule it is considered good practice for authors to give examples that readers should follow. Unless stated otherwise, the examples in this book always break this rule.

← July 08, 2005July 10, 2005 →
March 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

I hate ASP.NET

I hate ASP... I was doing wonders​with PHP, then suddenly one of my​clients...

Johnies: Mar 17, 6:14am

Quantum physics and free will

I knew you were going to say that....

Tom Massey: Mar 15, 9:26pm

Generated in about 0.046s.

(Used 7 db queries)