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
$102.50
Apple Inc.
+0.25
MSFT
$45.43
Microsoft Corpora
+0.55
GOOG
$571.60
Google Inc.
+2.40

MacTech Search:
Community Search:

Software Updates via MacUpdate

Path Finder 6.5.5 - Powerful, award-winn...
Path Finder is a file browser that combines the familiar Finder interface with the powerful utilities and innovative features. Just a small selection of the Path Finder 6 feature set: Dual pane... Read more
QuarkXPress 10.2.1 - Desktop publishing...
With QuarkXPress, you can communicate in all the ways you need to -- and always look professional -- in print and digital media, all in a single tool. Features include: Easy to Use -- QuarkXPress is... Read more
Skype 6.19.0.450 - Voice-over-internet p...
Skype allows you to talk to friends, family and co-workers across the Internet without the inconvenience of long distance telephone charges. Using peer-to-peer data transmission technology, Skype... Read more
VueScan 9.4.41 - Scanner software with a...
VueScan is a scanning program that works with most high-quality flatbed and film scanners to produce scans that have excellent color fidelity and color balance. VueScan is easy to use, and has... Read more
Cloud 3.0.0 - File sharing from your men...
Cloud is simple file sharing for the Mac. Drag a file from your Mac to the CloudApp icon in the menubar and we take care of the rest. A link to the file will automatically be copied to your clipboard... Read more
LibreOffice 4.3.1.2 - Free Open Source o...
LibreOffice is an office suite (word processor, spreadsheet, presentations, drawing tool) compatible with other major office suites. The Document Foundation is coordinating development and... Read more
SlingPlayer Plugin 3.3.20.505 - Browser...
SlingPlayer is the screen interface software that works hand-in-hand with the hardware inside the Slingbox to make your TV viewing experience just like that at home. It features an array of... Read more
Get Lyrical 3.8 - Auto-magically adds ly...
Get Lyrical auto-magically add lyrics to songs in iTunes. You can choose either a selection of tracks, or the current track. Or turn on "Active Tagging" to get lyrics for songs as you play them.... Read more
Viber 4.2.2 - Send messages and make cal...
Viber lets you send free messages and make free calls to other Viber users, on any device and network, in any country! Viber syncs your contacts, messages and call history with your mobile device,... Read more
Cocktail 7.6 - General maintenance and o...
Cocktail is a general purpose utility for OS X that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get... Read more

Latest Forum Discussions

See All

Rhonna Designs Magic (Photography)
Rhonna Designs Magic 1.0 Device: iOS Universal Category: Photography Price: $1.99, Version: 1.0 (iTunes) Description: Want to sprinkle *magic* on your photos? With RD Magic, you can add colors, filters, light leaks, bokeh, edges,... | Read more »
This Week at 148Apps: August 25-29, 2014
Shiny Happy App Reviews   | Read more »
Qube Kingdom – Tips, Tricks, Strategies,...
Qube Kingdom is a tower defense game from DeNA. You rally your troops – magicians, archers, knights, barbarians, and others – and fight against an evil menace looking to dominate your kingdom of tiny squares. Planning a war isn’t easy, so here are a... | Read more »
Qube Kingdom Review
Qube Kingdom Review By Nadia Oxford on August 29th, 2014 Our Rating: :: KIND OF A SQUARE KINGDOMUniversal App - Designed for iPhone and iPad Qube Kingdom has cute visuals, but it’s a pretty basic tower defense game at heart.   | Read more »
Fire in the Hole Review
Fire in the Hole Review By Rob Thomas on August 29th, 2014 Our Rating: :: WALK THE PLANKUniversal App - Designed for iPhone and iPad Seafoam’s Fire in the Hole looks like a bright, 8-bit throwback, but there’s not enough booty to... | Read more »
Alien Creeps TD is Now Available Worldwi...
Alien Creeps TD is Now Available Worldwide Posted by Ellis Spice on August 29th, 2014 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Dodo Master Review
Dodo Master Review By Jordan Minor on August 29th, 2014 Our Rating: :: NEST EGGiPad Only App - Designed for the iPad Dodo Master is tough but fair, and that’s what makes it a joy to play.   | Read more »
Motorsport Manager Review
Motorsport Manager Review By Lee Hamlet on August 29th, 2014 Our Rating: :: MARVELOUS MANAGEMENTUniversal App - Designed for iPhone and iPad Despite its depth and sense of tactical freedom, Motorsport Manager is one of the most... | Read more »
Motorsport Manager – Beginner Tips, Tric...
The world of Motorsport management can be an unforgiving and merciless one, so to help with some of the stress that comes with running a successful race team, here are a few hints and tips to leave your opponents in the dust. | Read more »
CalPal Update Brings the App to 2.0, Add...
CalPal Update Brings the App to 2.0, Adds Lots of New Stuff Posted by Ellis Spice on August 29th, 2014 [ permalink ] | Read more »

Price Scanner via MacPrices.net

Apple now offering refurbished 21-inch 1.4GHz...
The Apple Store is now offering 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
Save $50 on the 2.5GHz Mac mini, on sale for...
B&H Photo has the 2.5GHz Mac mini on sale for $549.99 including free shipping. That’s $50 off MSRP, and B&H will also include a free copy of Parallels Desktop software. NY sales tax only. Read more
Save up to $300 on an iMac with Apple refurbi...
The Apple Store has Apple Certified Refurbished iMacs available for up to $300 off the cost of new models. Apple’s one-year warranty is standard, and shipping is free. These are the best prices on... Read more
The Rise of Phablets
Carlisle & Gallagher Consulting Group, a businesses and technology consulting firm focused solely on the financial services industry, has released an infographic depicting the convergence of... Read more
Bad Driver Database App Allows Good Drivers t...
Bad Driver Database 1.4 by Facile Group is a new iOS and Android app that lets users instantly input and see how many times a careless, reckless or just plain stupid driver has been added to the... Read more
Eddy – Cloud Music Player for iPhone/iPad Fre...
Ukraine based CapableBits announces the release of Eddy, its tiny, but smart and powerful cloud music player for iPhone and iPad that allows users to stream or download music directly from cloud... Read more
A&D Medical Launches Its WellnessConnecte...
For consumers and the healthcare providers and loved ones who care for them, A&D Medical, a leader in connected health and biometric measurement devices and services, has launched its... Read more
Anand Lal Shimpi Retires From AnandTech
Anand Lal Shimpi, whose AnandTech Website is famous for its meticulously detailed and thoroughgoing reviews and analysis, is packing it in. Lal Shimpi, who founded the tech site at age 14 in 1997,... Read more
2.5GHz Mac mini, Apple refurbished, in stock...
The Apple Store has Apple Certified Refurbished 2.5GHz Mac minis available for $509, $90 off MSRP. Apple’s one-year warranty is included, and shipping is free. Read more
13-inch 2.5GHz MacBook Pro on sale for $999,...
B&H Photo has the 13″ 2.5GHz MacBook Pro on sale for $999.99 including free shipping plus NY sales tax only. Their price is $100 off MSRP. 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
Senior Event Manager, *Apple* Retail Market...
…This senior level position is responsible for leading and imagining the Apple Retail Team's global event strategy. Delivering an overarching brand story; in-store, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.