Advertisement: Support SunWorld, click here!

 
January 1999 
 Search    
 
   
 Navigate    
 
Home
Mail this Article
Printer-Friendly Version
   
Navigate    
   
Subscribe, It's Free
Topical Index
Backissues
SunWHERE
Letters to the Editor
Events Calendar
TechDispatch Newsletters
   
   
 Technical FAQs    
   
Solaris Security
Secure Programming
Performance Q&A
SE Toolkit
   
   
 SunWorld Partners    
   
Software Store
Career Central
Sun Microsystems
ITcareers
   
   
 About SunWorld    
   
  SunWorld FAQ
Advertising Info
SunWorld Editors
Masthead
Editorial Calendar
Writers Guidelines
Privacy Policy
Link To Us!
Copyright
   
   
 Advertisement    
   
 

   
   
 

Do-it-yourself benchmarking

  REGULAR EXPRESSIONS  

By Cameron Laird and Kathryn Soraiz

Page 2 of 2

January 15, 1999: Source code as human language

Tim O'Reilly

"It'll be bigger than ever."

Most Regular Expressions readers already anticipate a bright future for scripting, but when Tim O'Reilly says this, it reflects a specific and important vision. He squeezed us into his overbooked schedule just before Christmas to explain his ideas.

'Infoware,' our real destiny
O'Reilly founded O'Reilly and Associates more than 20 years ago as a "technical writing consulting company." Now it's a publisher doing a few million dollars in sales annually (and growing) with the strongest brand in the industry: the "funny animals" books. O'Reilly's corporate history reflects his continuing "quest to tackle interesting problems," along with his aim that "we want anything produced with the O'Reilly name to be useful, interesting, and truthful."

One problem currently interesting O'Reilly is the historic transition he sees in our industry's center of gravity. Hardware originally dominated in this developmental scheme; that's when "computer companies" were such iron-mongers as IBM and DEC. More recently, software (think of Microsoft and Oracle) has had the highest profile. O'Reilly sees the excitement of the future attaching to "infoware." While waves of consultants periodically proclaim that content is king, O'Reilly has in mind a category more dynamic and active than online movies or digitized paintings. For him, as he explains in a piece called "The Open-Source Revolution," "infoware embeds small amounts of software in a lot of information." Those little, but well-integrated, pieces of intelligence make Amazon and comparable "information applications" the winners they are.

Scripting as product and expression
That architectural vision of small, well-integrated pieces of software is the central theme of scripting, of course. O'Reilly is right to characterize current infoware as "HTML plus scripting." However, this is far from the only scripting resonance O'Reilly energizes. Let's take a step back, into O'Reilly's perspective on software more generally.

He understands the rules well enough to be consistently profitable, but the most distinctive aspect of O'Reilly's vision of software is to see it as expression more than product. His delight is evident when he describes the progress the Electronic Freedom Foundation is making in its legislative goals by presenting software as speech rather than invention. He consistently talks about applications in the language of the theater or gallery.

Duct tape for quick-and-dirty jobs
O'Reilly recognizes that scripting is often dismissed as "quick and dirty stuff that is somehow less significant than the programming behind compiled commercial applications." Rather than fighting this aspersion, he inverts it, and explains that scripting is simply "closer to what people need ... Most speech is extemporaneous, not prepared. Conversation would be pretty stilted if everything one said was prepared, formal speech." Scripting is an extension of speech that powerfully matches the way people really learn and accomplish what they want when relating to computers.

He's equally proud when people talk about Perl as "the duct tape of the Web ... Duct tape is perfect for stuff at the edge." Crews specializing in performance or experiment setup know how to use throw away components to get a concert hall or laboratory in shape for special events. Scripting's flexibility also fits the temper of current management literature, which emphasizes quick response and not-necessarily-perfect solutions.

O'Reilly's not dogmatic on syntax, of course. While the fortunes of Perl and his publishing company seem synchronized, his catalog includes many of the leading books for such other languages as Python, Tcl, JavaScript, and more. Scripting in general, he said, "will find itself more and more interwoven" with the infoware that has begun to define how people relate to computers. Their high-level expressivity, openness to other technologies, and "failsoftness" will keep scripting languages on a steep growth curve.

One of the motivations for O'Reilly's Unix Power Tools, for instance, is the "natural progression" in Unix from the command line to simple scripts to more powerful languages. Perl creator Larry Wall describes the linguistic thinking underlying Perl as a progression that mimics the way people learn and use natural languages.

As Wall puts it, languages that follow this natural "speech" progression are fundamentally more accessible -- more democratic -- than "languages that don't let you speak at all until you have the equivalent of a college education."

Open progress
"Openness" is another favorite quality for O'Reilly. "Once you start thinking of computer source code as a human language, you see open source as a variety of 'free speech.' Free speech is not just a political ideal. It is the currency of science and of western civilization. It is a truism in the Western academic tradition dating back to the Renaissance that exposure to criticism and dialogue are the surest ways to refine ideas," O'Reilly said.

While such familiar open source products as "Linux, Apache, Sendmail, and BIND have had an enormous effect on the computer industry," O'Reilly argues that "scripting languages make the open source ethic even more universal. Because scripting languages are interpreted, their 'source code' is almost by definition open. This makes the community of discourse enabled by 'HTML-plus-scripting'... orders of magnitude greater than the community of hard-core developers working in higher-level languages."

There's a big world beyond scripting, of course. The O'Reilly & Associates catalog has strong entries in traditional system languages such as C and Java. However, as humans and digital processors come together, more and more of our interactions will model the abbreviated, idiomatic, introspective conversations scripting languages enable.

Periodical scripting
One timely token of scripting's growth is its acceptance in the pages of magazines. Perl and JavaScript show up in more places than we can count. More diagnostic is the prominence Inter@ctive Week Technology Editor Charles Babcock regularly gives a range of scripting technologies. We also salute two new columns: Rich Morin, always alert for the easy way out of any programming challenge, is likely to do a lot of scripting in Silicon Carny, his new general-interest SunWorld column. And Clif Flynt of ;login has launched "Tclsh Spot," a complement to columnist Joseph N. Hall's monthly ;login column, "Effective Perl Programming."

See the Resources section for related links.


Page 1.
Page 2. January 15, 1999: Source code as human language
Printer-friendly (all-in-one) version

About the author
Cameron Laird and Kathryn Soraiz manage their own software consultancy, Network Engineered Solutions, from just outside Houston, TX. Reach Cameron at cameron.laird@sunworld.com. Reach Kathryn at kathryn.soraiz@sunworld.com.

Home | Mail this Story | Printer-Friendly Version | Comment on this Story | Resources and Related Links

Advertisement: Support SunWorld, click here!

Resources and Related Links
   

Tell Us What You Thought of This Story
 
-Very worth reading
-Worth reading
-Not worth reading
-Too long
-Just right
-Too short
-Too technical
-Just right
-Not technical enough
 
 
 
    
 

(c) Copyright 1999 ITworld.com Inc., and IDG Communication company

If you have technical problems with this magazine, contact webmaster@sunworld.com

URL: http://www.sunworld.com/swol-01-1999/swol-01-regex-2.html
Last modified: Saturday, November 20, 1999