mike's web log

 

Blog Search


(Supports AND)

 

Google Ads

 

Feed

Subscribe to the RSS feed for this blog.

See this post for info on full versus truncated feeds.

 

Quote

You have what you have not lost;
you have not lost horns;
ergo, you have horns.


— Anon.



 

Navigation






<May 2013>
SMTWTFS
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678


 

25 Most-Visited Entries

 

Categories

  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
  RSS
 

Blogs I Read

 

Contact

Email me
 

Blog Statistics

Dates
First entry - 6/27/2003
Most recent entry - 4/9/2013

Totals
Posts - 2293
Comments - 2463
Hits - 1,527,160

Averages
Entries/day - 0.63
Comments/entry - 1.07
Hits/day - 423

Update every 30 minutes. Last: 8:26 AM Pacific

 
   |  Dennis Ritchie, technical writer

posted at 08:54 AM | | [9] |

Dennis Ritchie, the co-inventor of Unix and of the C programming language, died this week. There are many, many eloquent tributes to Dr. Ritchie, who was both a seminal figure in computer science and, it seems, a nice guy.

Among his accomplishments, as people note, was that Ritchie was an excellent writer. Here's the New York Times:
“There was a remarkable precision to his writing,” Mr. Kernighan said, “no extra words, elegant and spare, much like his code.”
Of course, this is most evident in what might be the most famous programming book, namely The C Programming Language, which Ritchie wrote with Brian Kernighan:


The book is widely regarded as one of the best programming tutorials ever written: a complete introduction to C in 228 pages (1st edition). K&R, as it's known, is a much-beloved book, having a place in the hearts of programmers that Strunk & White does in the hearts of writers.[1] (It helps, of course, that the C language itself is sparse, but this simply underscores that Ritchie understood economy of style in more than one field.) A page on the Bell Labs site shows the many translations of K&R into languages other than English.

The style of coding that Kernighan and Ritchie used in their book became a model for how to write C programs. Likewise the writing style in K&R had wide influence on how programming books came to be written, and many a book has strived to be "the K&R of ______" for a particular programming language.

K&R is also responsible for what's surely the best-known example in programming circles, namely "Hello, World". As represented in K&R, it looks like this:
main()
{
printf("hello, world\n");
}
The term "Hello, World" has entered the lexicon of programming to mean the first example for any programming language. Wikipedia includes an entry that shows "Hello, World" examples for 59 programming languages, from ActionScript to Visual Basic.[2]

In fact, "hello world" has come to mean the first or simplest example for how to start learning most anything. Some examples:
Sometimes you just have to marvel at people's achievements. Dennis Ritchie helped to write the foundational programming language of the modern era, helped launch the operating system that's the backbone of the Internet, and oh, yeah, helped define modern documentation style. How cool is that?


[1] Like Strunk & White, K&R is probably more honored in people's memory than in day-to-day use.

[2] When I went to the user group meeting the other day, Doug Seven showed how to create a Metro-style app. He began by saying “The ‘Hello, World’ app of our era is an RSS reader” and then showed how to do this. I was amused by his opening remark, so I tweeted it. Right away I got a reply: “RSS is soo 2009, it's the twitter reader app now.” Haha, true.

[categories] ,