TweetFollow Us on Twitter

March 93 - THE VETERAN NEOPHYTE

THE VETERAN NEOPHYTE

TOWER OF BABBLE

DAVE JOHNSON

[IMAGE 061-063_Neophyte_rev1.GIF]

I recently started learning MacApp. (I know, I know, I can see you shaking your great shaggy collective head, chuckling to yourself, asking where I was three years ago when MacApp was still news. Let's just say I'm a late bloomer.) People weren't kidding when they said that the learning curve is long and steep. They also weren't kidding when they said that it's absolutely worth it.

For me, it was a double whammy: learning MacApp and transitioning from THINK C to MPW. (See, if I'd only learned it in the MacApp 2.0 days I could have used THINK Pascal, but noooo, I had to wait till now.) I've been using THINK C for virtually all my programming since 1986 or so. Using MPW for my own little exploratory projects would be like calling in a highly trained, ultramodern, rapid- deployment mobile emergency medical team to remove a splinter from my thumb. The job would get done, and beautifully, but it'd be an absolutely colossal waste of time, effort, and expense. Frankly, I'd rather just have a good pair of tweezers.

But alas, if I want to use MacApp (and I do!) the days of coding on my PowerBook 100 in the backyard with loyal hounds lolling at my feet are gone for good. Now I need 16 MB of RAM minimum and atleast40 MB of hard disk space (120 to be really comfortable). And I'm not even going to mentionMacApp compile times; it hurts me too much.

But all that's really just logistics and can be gotten used to pretty quickly. The real difference is in the very nature of my interaction with the machine: It used to be that when I'd think of something that needed doing, I'd just go do it. It was like building a machine from scratch, piece by handcrafted piece. Now, using MacApp, when I think of something that needs doing I conduct massive, cross- referenced searches through megabytes of source code to figure out where it's already been done, because no doubt somebody already thought of it, or something very much like it, and implemented it better than I ever could. It's as though I'm running around on top of a giant, humming machine that stretches to the horizon on all sides, hunting for just the right place to reach down into the dark recesses, pull up a live, vibrating cable, and splice in my little special-purpose unit. Often I've spent an hour hunting around for the right place to insert some code, only to discover that to do what I want I just need to set the value of some out-of-the-way Boolean deep inside an object's remote ancestor.

Well, I could ramble forever about my learning experiences, but those of you who've been there know all about it, and those of you who haven't probably don't want to hear it. But this is the first time since I discovered the Macintosh and switched from FORTH to C that thefeelof programming has been completely transformed for me. It occurred to me that the fact that programming is the kind of thing that canhave a feeling to it is noteworthy. Programming computers is an activity unlike any other. It's a human-machine interaction, but because the machine is very special, interacting with it is also very special. Programming has a depth that other machine interactions don't, so it can assume qualities not normally associated with the operation of machinery. It can be a creative act, akin to building an intricate, glittering crystal clockwork out of gossamer strands of pure thought; and it can also be formidable drudgery, a mountain of mind-numbing details, endless in their intricacy, interrelatedness, and total irrelevance to the real task at hand. These are not normally the kinds of things you'd say about operating your dishwasher or toilet.

Computers are something truly new on earth. They're machines that can simulate any other machine; they're somehow potentiallyeverymachine in one. A well-known computer luminary put it this way:

It [the computer] is a medium that can dynamically simulate the details of any other medium, including media that cannot exist physically. It is not a tool, although it can act like many tools. It is the first metamedium, and as such it has degrees of freedom for representation and expression never before encountered and as yet barely investigated. -- Alan Kay, "Computer Software,"Scientific American, September 1984.

Other machines are physical extensions of ourselves; they let us sense and manipulate our physical world with more power and flexibility than we can by ourselves. But they're justphysicalextensions. Computers, though, manipulate and embody abstractions and symbols; they operate on patterns of electrical activity, on imagination, on mindstuff. If you can imagine a machine or a medium in detail, you can program a computer to simulate it. So programming computers is much, much more than telling them what to do -- it's telling them what to be.

Of course, all this philosophical and poetic mumbo-jumbo crashes to the ground when faced with reality. Try telling my friend Michele -- who wrote an entire book on her Macintosh SE and just recently realized that she can use Standard File dialogs to navigate her hard disk -- that her computer "has degrees of freedom for representation and expression never before encountered." Yeah, right. Admittedly, the computer is much more fluid-seeming to programmers than to users (someday, hopefully, a moot distinction), but there's still a large discrepancy between the promise and the realization. Computers still feel more like erector sets -- lots of hard, inflexible little parts -- than like clay.

Boiled down to its thick, syrupy essentials, computer programming is quite simply the creation and communication of detailed instructions. The creation is the really exciting part, and is (or should be) the main task. But the communication is what really defines the experience of programming; it's the part that has afeelto it.

All this touchy-feely talk smacks of natural language. Are programming languages really just another class of natural languages? Is that why programming can feel so rich? I found a great book that addressed this very question (among others):The Cognitive Connectionby Howard Levine and Howard Rheingold.

Programming languages and natural languages do indeed have deep similarities, and share essential features found in any language. They're both sets of abstract symbols that have meaning only by mutual agreement between communicating parties. They're both open-ended: they have an underlying structure and system of rules that allow an infinite variety of correct sentences to be constructed. (Even more remarkably, any correct sentence can later be deciphered by anyone who knows the language, even though they've never seen that sentence before.)

Linguists say that a language has three parts: phonology, syntax, and semantics. Phonology is the way a language is turned into sounds, and is irrelevant to programming languages since they're never spoken. Syntax is the set of rules that specify how the parts of the language -- words and phrases -- are put together to form sentences. Programming languages obviously have strict and unforgivingsyntax. But syntax by itself is an empty shell, telling us only whether a sentence is well formed, not what it means. That's the function of semantics.

Ah, sweet semantics! This is where the rubber meets the road, linguistically speaking, and where significant differences between natural languages and programming languages begin to appear. Howard and Howard illustrate one big semantic difference between natural languages and programming languages by comparing their dictionaries. (Dictionaries are, in a sense, the embodiment of a language's semantics.)

Natural language dictionaries are written in natural languages, so the language must be rich and flexible enough to describe itself. When you look up an English word in Webster's, you get a definition written in English. This is only possible because words in natural languages can have more than one meaning.

Programming language dictionaries, on the other hand, are never written in a programming language. When you look up the definition of a Pascal word, the description is written in English (or Portuguese or Swahili or whatever), not Pascal or C++ or LISP. Unfortunately, the duplicity of meaning that allows a natural language to describe itself opens the door to paradox and self- contradiction, something programming languages can't tolerate.

But there's another, even more apparent semantic difference between programming languages and natural languages. As the Howards so aptly put it:

. . . although philosophers and linguists have struggled for centuries to give precise meaning to the word "meaning," you don't need a degree in either discipline to realize that what constitutes meaning for a programming language is dramatically different from what constitutes meaning for a natural language.

Semantically, programming languages are only a sort of horribly stunted subset of natural languages, because the world they describe -- the operations of computers -- is only a sort of horribly stunted subset of the natural world. So "conversations" in a programming language aren't conversations at all; they're one-sided and one-dimensional commands whose conversational interest is on a par with the instructions on the back of a shampoo bottle: Lather, rinse, repeat.

We are, of course, in the infancy of our relationship with computers, still drooling and babbling experimentally most of the time. Look at MacApp: compared to other available methods of programming the Macintosh, it's astoundingly elegant and streamlined, but even MacApp's most vocal devotees don't want to stop there. Far from being the end product of the evolution of programming, MacApp is only one of the first teetering steps toward more natural and more fluent communication with computers.

A big question is whether our interactions with computers willever be totally fluent, where fluency means the complete subsumption of syntax, so that we can go directly from meaning to expression with no conscious effort. Some people insist it will happen, that there's a future of instant, effortless communication with computers, a wide and crystal clear pathway between us and them, but somehow I can't buy it. I suspect that instead, computer communication will just get more and more like natural communication.

Fraught with misunderstanding and misinterpretation, blocked by its implicit awkwardnesses and incompleteness, human language is nevertheless rich beyond depth. Its infinite flexibility allows it to carry and contain the full spectrum of human thought and feeling, and provides a ground for endless creativity. Indeed, there is an intense joy to using language --anylanguage -- well. If we get only half as far with our computers as we have with our words, we'll have come a very long way indeed.

RECOMMENDED READING

  • The Cognitive Connection by Howard Levine and Howard Rheingold (Prentice-Hall Press, 1987).
  • Scientific American, September 1984.
  • The Happy Birthday Present by Joan Heilbroner, pictures by Mary Chalmers (Harper & Row, 1962).

DAVE JOHNSON recently bought some Crash Dummies and peripheral equipment. These are little "action figures," modeled after real crash dummies, that fly apart in various ways upon impact. You can buy a car to crash them in, crash dummy pets (named Bumper and Hubcat), crash dummy babies in strollers or car seats, crash dummy pedestrians, and even a crash dummy torture chair with straps and clamps and cranks to pull the dummies apart more slowly, one limb at a time. Dave is convinced that if he preserves all the parts in their original packaging he can sell them for some huge amount of money in the future, or at least that's how he's justifying the expense. *

Dave welcomes feedback on his musings. He can be reached at JOHNSON.DK on AppleLink, dkj@apple.com on the Internet, or 75300,715 on CompuServe.*

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Dispatch is bringing its superhero shena...
If you were anywhere online last year, then you would have no doubt heard of Dispatch, and been flooded with videos of it. With its star-studded cast and unrelenting humour, it fast became a hit, racking up over four million downloads. And it is a... | Read more »
5 reasons to sink your teeth into VAMPIR...
On October 28, Netmarble will globally launch VAMPIR, its latest and most macabre MMORPG, plunging players into a Gothic world of vampires, sorcerers and cursed creatures of the night. Built around blood, fear and large scale battles, the MMORPG... | Read more »
Gundam Blitz Order opens registration fo...
It would appear that video game developers are delving into my childhood and making idle games from my favourite TV shows. First, Bandai completely whiffed with Digimon Up, perhaps the single biggest miss of a beloved franchise in recent memory. Now... | Read more »
The Traitors Interactive Game lets you l...
With the second season of The Celebrity Traitors in full swing, the world is once more enthralled by just how good a liar our heroes are. I don’t watch it, but I hope James Blunt wins. The premise does intrigue me, however, and thanks to Fusebox... | Read more »
Dissidia Duellum Final Fantasy brings in...
For all his successful manipulations and successes through Final Fantasy 9, I never really liked Kuja. And it's not like I dislike him; more I nothing him. But that's just me; the vast majority of the fandom adore him, and they are in luck, for Kuja... | Read more »
Combo Quest (Games)
Combo Quest 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Combo Quest is an epic, time tap role-playing adventure. In this unique masterpiece, you are a knight on a heroic quest to retrieve... | Read more »
Hero Emblems (Games)
Hero Emblems 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: ** 25% OFF for a limited time to celebrate the release ** ** Note for iPhone 6 user: If it doesn't run fullscreen on your device... | Read more »
Puzzle Blitz (Games)
Puzzle Blitz 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Puzzle Blitz is a frantic puzzle solving race against the clock! Solve as many puzzles as you can, before time runs out! You have... | Read more »
Sky Patrol (Games)
Sky Patrol 1.0.1 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0.1 (iTunes) Description: 'Strategic Twist On The Classic Shooter Genre' - Indie Game Mag... | Read more »
The Princess Bride - The Official Game...
The Princess Bride - The Official Game 1.1 Device: iOS Universal Category: Games Price: $3.99, Version: 1.1 (iTunes) Description: An epic game based on the beloved classic movie? Inconceivable! Play the world of The Princess Bride... | Read more »

Price Scanner via MacPrices.net

B&H Slashes $400 Off 14″ M5 Pro MacBook P...
B&H has launched a substantial new discount on Apple’s 14-inch M5 Pro MacBook Pro, taking $400 off the Space Black configuration with 24GB RAM and a 1TB SSD. Regularly priced at $2499, the 14-... Read more
Take $50 off iPad at Amazon, prices start at...
Amazon again has 11th-generation A16 WiFi iPads in stock on sale for $50 off MSRP, starting at $399. Shipping is free: – 11″ 11th-generation 128GB WiFi iPads: $399 $50 off MSRP – 11″ 11th-generation... Read more
Amazon Lowers 13″ M5 MacBook Air to $1149, No...
Amazon has increased its discounts on Apple’s 13-inch M5 MacBook Air, dropping the standard 16GB/512GB configuration to just $1149. Apple sells this configuration for $1299, so Amazon’s latest price... Read more
Amazon and B&H Slash Mac mini Prices, M6...
Amazon and B&H are offering new discounts on Apple’s M6 and M5 Pro Mac minis, with savings reaching $149.01 and prices starting at just $779. Configuration Apple MSRP Retailer Sale Price Savings... Read more
Amazon Takes Up to $150 Off 15″ M5 MacBook Ai...
Amazon has launched new discounts on Apple’s 15-inch M5 MacBook Airs, with savings of up to $150 and prices starting at just $1399. Configuration Apple MSRP Amazon Price Savings 15″ M5 16GB/512GB $... Read more
Amazon Takes Up to $150 Off 13″ M5 MacBook Ai...
Amazon has launched a new round of discounts on Apple’s 13-inch M5 MacBook Airs, with savings of up to $150 and prices starting at just $1199. Configuration Apple MSRP Amazon Price Savings 13″ M5... Read more
Verizon Launches iPhone Duo Pre-Orders With N...
Verizon has opened pre-orders for Apple’s new iPhone Duo, the company’s first foldable iPhone, with prices starting at $1999.99 and a new no-trade-in promotion available through its Simplicity Plan.... Read more
Amazon Drops 14″ M5 Max MacBook Pro to $3299,...
Amazon has dropped the price of Apple’s 14-inch M5 Max MacBook Pro with 36GB RAM and a 2TB SSD to $3299, saving a substantial $800 off Apple’s $4099 MSRP. This is one of the strongest discounts we’ve... Read more
Amazon Drops 14″ M5 Pro MacBook Pro with 2TB...
Amazon has dropped the price of Apple’s 14-inch M5 Pro MacBook Pro with 24GB RAM and a 2TB SSD to just $2399, saving a substantial $600 off Apple’s $2999 MSRP. This is one of the best discounts we’ve... Read more
B&H Takes Up to $220 Off New M5 Max Mac S...
B&H has launched new discounts on Apple’s M5 Max Mac Studio, with savings of up to $220 and prices starting at just $2299. Configuration Regular Price B&H Price Savings M5 Max 18-Core CPU/32-... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.