TweetFollow Us on Twitter

May 92 - Why OODLs are Good for You

Why OODLs are Good for You

Jeffrey W Stulin

Jeffrey W Stulin Computer Software Consultants AppleLink: D1104

End of a Friendship?

During a recent visit to Florida, while staying with friends (a pair of authors), I had a frustrating, ninety minute, one a.m. argument about programming languages.

My friend Bob has had no formal computer education, yet he was able to create a sophisticated poker playing program written totally in HyperTalk. He proudly demonstrated the program running on his new Powerbook 170 (Yes, a 170. He is a best-selling author....)

After the demonstration we discussed Bob's plans for continuing his computer self-education. He wanted to know why he should learn another computer language. After all couldn't you program anything using HyperTalk?

I went into my usual b/s about Turing Machines, and yes you could theoretically use HyperTalk for all programming, but that HyperTalk was impractical for many problems.

"Like what?" he asked innocently.

During the next hour my blood pressure rose to 200 over 100; we wasted a tree trying to outline examples and counter examples; Bob went through half a bottle of scotch; both wives fell asleep in their comfy chairs (clearly not software ideologues); and I ranted eloquently about both practical and obscure issues in software development. But Bob just sat there shaking his head and repeating:

"Couldn't I just write a HyperTalk function to do that?"

What really annoyed me was that he was right: you can do just about anything with a HyperTalk function. At least anything that Bob could conceive of, since he has only had the HyperTalk language to express his programming thoughts.

Bob and I lacked a common vocabulary to talk about software concepts beyond his experience. Arrays, objects, structures, file management, and typed variables are a mystery to him.

End of my credibility in MADA?

This is the same problem I have in convincing those of you without significant dynamic language experience that OODLs-Object-Oriented Dynamic Languages such as Macintosh Common Lisp (MCL) and Smalltalk-are a good idea. We don't have a common vocabulary for communication.

Here is a statement that will get me into trouble. Putting aside the issue of runtime performance I claim that:

The set of interesting problems which can be reasonably explored and expressed using an object oriented dynamic language such as MCL is, while not a proper superset, much larger than the set which can be reasonably explored and expressed by a static language such as C++.

By "explored and expressed" I mean that, when faced with a problem, a programmer must first figure out how to solve it and then express the solution using a programming language.

Their ability to explore and express a large set of problems is the reason that dynamic languages have been the mainstay of Artificial Intelligence, which has tried to solve the "hardest" problems.

I can see that many of you are shaking your head in skepticism. After all, if OODLs are so good, why doesn't everybody use them? (You may also want to ask yourself why object-oriented programming didn't catch on in the 1960's when it was invented.)

The traditional answer (there are others, but this is the big one) is that their runtime performance characteristics are poor. They are slow, they use lots of memory, and they are occasionally interrupted by garbage collection. Which leads me to my second claim:

Advances in hardware and compiler technology will soon overcome the traditional runtime performance problems of OODLs.

In my yet-to-be-published third MCL article, I will note that figuring out how to squeeze performance out of MCL is not easy, but once done (or, in my case, once told how by the MCL development team), performance, as an issue, almost disappears.

Based on these claims, I draw a conclusion:

Sometime around the end of this decade, OODLs will be the mainstream tools used for developing software applications.

Don't take my word for it, I'm just some fool babbling over the link-waves. You can believe Larry Tesler, whose keynote address at the MADA conference said much the same thing. In fact, you don't even have to believe me about what Larry said; my understanding is that his speech is included on the conference CD. Watch him for yourself.

Is there Help for bob?

You may have noticed that this article is filled with philosophical hot air and is disappointingly thin on evidence, just like my argument with Bob. I admit my sins, ask forgiveness, and make a promise. If you, the MADA community, show an interest in OODLs, then I (and others) will write a series of articles exploring aspects of OODLs which will prove the claims stated here. Topics will include: What makes dynamic languages so expressive, dynamically vs. statically typed variables, automatic memory management, runtime performance of dynamic languages, etc. etc. And I will make Bob read them all.

I believe OODLs are in our professional future, that we can have a say in the direction of OODL development, and that programming with OODLs is more productive and pleasant than is programming using the current crop of static languages. That is why I am a co-founder of the new OODL/MCL SIG.

Interested? Join the OODL/MCL SIG and let me know.

 
AAPL
$101.66
Apple Inc.
+0.23
MSFT
$46.70
Microsoft Corpora
-0.31
GOOG
$575.62
Google Inc.
-5.73

MacTech Search:
Community Search:

Software Updates via MacUpdate

Screenshot Path 1.2.1 - Change the defau...
Screenshot Path lets you change the folder where OS X saves screenshots. Screenshots are saved by default to the user’s desktop. This is handy for the occasional screenshot but those looking to take... Read more
Fantastical 1.3.16 - Create calendar eve...
Fantastical is the Mac calendar you'll actually enjoy using. Creating an event with Fantastical is quick, easy, and fun: Open Fantastical with a single click or keystroke Type in your event details... Read more
GIMP 2.8.14 - Powerful, free image editi...
GIMP is a multi-platform photo manipulation tool. GIMP is an acronym for GNU Image Manipulation Program. The GIMP is suitable for a variety of image manipulation tasks, including photo retouching,... Read more
HoudahSpot 3.9.3 - Advanced front-end fo...
HoudahSpot is an advanced file search tool built upon MacOS X Spotlight. Spotlight unleashed Create detailed queries to locate the exact file you need Narrow down searches. Zero in on files Save... Read more
djay 4.2.3 - Transform your Mac into a f...
djay transforms your Mac into a full-fledged DJ system, allowing you to mix your iTunes music library on a hyper-realistic turntable interface. Perform live, record mixes on-the-go, or enable... Read more
iDefrag 2.2.8 - Disk defragmentation and...
iDefrag helps defragment and optimize your disk for improved performance. Features include: Supports HFS and HFS+ (Mac OS Extended). Supports case sensitive and journaled filesystems. Supports... Read more
Bookends 12.2.3 - Reference management a...
Bookends is a full-featured bibliography/reference and information-management system for students and professionals. Access the power of Bookends directly from Mellel, Nisus Writer Pro, or MS Word (... Read more
Copy 1.47.0410 - Cloud storage and file...
Note: You must first sign up to use Copy (get a 5GB sign-up bonus through our 'Download' link above). Copy lets you sync, protect, and share. Everywhere. Want to bring some files home? No problem!... Read more
Stacks 2.6.3 - New way to create pages i...
Stacks is a new way to create pages in RapidWeaver: A plugin designed to combine drag-and-drop simplicity with the power of fluid layout. Features: Fluid Layout: Stacks lets you build pages that... Read more
RestoreMeNot 2.0 - Disable window restor...
RestoreMeNot provides a simple way to disable the window restoration for individual applications so that you can fine-tune this behavior to suit your needs. Please note that RestoreMeNot is designed... Read more

Latest Forum Discussions

See All

This Week at 148Apps: September 8-12, 20...
Expert App Reviewers   So little time and so very many apps. What’s a poor iOS devotee to do? Fortunately, 148Apps is here to give you the rundown on the latest and greatest releases. And we even have a tremendous back catalog of reviews; just check... | Read more »
Rejoice, Kittens! Kitty Powers’ Matchmak...
Rejoice, Kittens! | Read more »
Upcoming Digital Board Game SettleForge...
Upcoming Digital Board Game SettleForge is Headed to iOS Posted by Jessica Fisher on September 12th, 2014 [ permalink ] SettleForge is a single-player board game where players take on the role of the king as they try to | Read more »
Air Supply SOS Set to Bring Retro Sheep...
Air Supply SOS Set to Bring Retro Sheep Rescuing to iOS Soon Posted by Ellis Spice on September 12th, 2014 [ permalink ] Quantum Sheep has announced that the latest entry in the | Read more »
Star Wars: Commander Reveals Who is Winn...
Star Wars: Commander Reveals Who is Winning the Galactic Civil War Posted by Jessica Fisher on September 12th, 2014 [ permalink ] Disney Interactive has released a new infographic detailing the stat | Read more »
The New MOGA REBEL iOS Controller is Set...
The New MOGA REBEL iOS Controller is Set to Be Released on September 17 Posted by Jessica Fisher on September 12th, 2014 [ permalink ] MO | Read more »
Scuba Dupa Review
Scuba Dupa Review By Rob Thomas on September 12th, 2014 Our Rating: :: BUBBLE TROUBLEUniversal App - Designed for iPhone and iPad Scuba Dupa is cute and simple fun, but you’re going to have to part with a bit too much sunken... | Read more »
Get Ready for the iPhone 6 – Amazon Trad...
Get Ready for the iPhone 6 – Amazon Trade-in Program Locks in Used Gadget Prices Until October 10 Posted by Ellis Spice on September 12th, 2014 [ permalink ] | Read more »
Kings of the Realm Review
Kings of the Realm Review By Jennifer Allen on September 12th, 2014 Our Rating: :: STANDARD BASE BUILDINGUniversal App - Designed for iPhone and iPad Kings of the Realm offers some handy tweaks, but it’s still the familiar format... | Read more »
Five Nights at Freddy's (Games)
Five Nights at Freddy's 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: NOTE: It's recommended to have at least 512 megs of ram on your device, low-memory devices may crash during gameplay.... | Read more »

Price Scanner via MacPrices.net

Save $75 on the 16GB iPad mini with Retina Di...
Best Buy has the 16GB iPad mini with Retina Display on sale for $324.99 on their online store for a limited time. Their price is $75 off MSRP, and it’s the lowest price available for this mini.... Read more
21-inch 1.4GHz iMac on sale for $979, $120 of...
B&H Photo has the new 21″ 1.4GHz iMac on sale for $979.99 including free shipping plus NY sales tax only. Their price is $120 off MSRP. B&H will also include free copies of Parallels Desktop... Read more
Apple restocks refurbished 21-inch 1.4GHz iMa...
The Apple Store has restocked Apple Certified Refurbished 21″ 1.4GHz iMacs for $929 including free shipping plus Apple’s standard one-year warranty. Their price is $170 off the cost of new models,... Read more
13-inch 2.6GHz/256GB Retina MacBook Pro on sa...
Adorama has the 13″ 2.6GHz/256GB Retina MacBook Pro on sale for $1379 including free shipping plus NY & NJ sales tax only. Their price is $120 off MSRP, and it’s the lowest price available for... Read more
Macally iPhone 6 Cases
Macally has introduced a Line of Snap-On Shell Cases, Frame Bumper Cases and a Rugged Protective Case for iPhone 6 with 4.7inch Screen, such as the SNAP case in a variety of brilliant metallic... Read more
Belkin Launches New Accessories iPhone 6 and...
Belkin has unveiled a new collection of products for iPhone 6 and iPhone Plus. Belkin’s new iPhone 6 and iPhone 6 Plus accessories include athletic-inspired armbands, classic phone cases and advanced... Read more
Skinit Debuts Customizable Apple iPhone 6 Cas...
Skinit, pioneer creators of protective personalized solutions for consumer electronic devices, has introduced its new collection of customizable Skinit cases and skins for the new Apple iPhone 6.... Read more
Apple refurbished MacBook Pros available for...
The Apple Store has Apple Certified Refurbished 13″ and 15″ MacBook Pros available starting at $929. Apple’s one-year warranty is standard, and shipping is free: - 13″ 2.5GHz MacBook Pros (4GB RAM/... Read more
Save $200 with Apple refurbished 27-inch Thun...
The Apple Store has Apple Certified Refurbished 27″ Thunderbolt Displays available for $799 including free shipping. That’s $200 off the cost of new models. Read more
Free $25 iTunes gift card with purchase of Ap...
The Apple Store is offering a free $25 iTunes Gift Card with the purchase of a $99 Apple TV for a limited time. Shipping is free. Read more

Jobs Board

*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.