TweetFollow Us on Twitter

Oct 98 Viewpoint

Volume Number: 14 (1998)
Issue Number: 10
Column Tag: Viewpoint

October 1998 Viewpoint

by Nicholas C. "nick.c" DeMello, editor@mactech.com

When I was in high school, I wasn't really interested in computers. But, somewhere along the way I did learn BASIC and I had a lot of fun with it. In college, someone took the time to explain to me that BASIC wasn't a real programming language, that if I wanted to get serious about programming I needed to learn Pascal. For some reason, I bought that, and went off to figure out Pascal. Eventually, I migrated on to C, then C++, and I am now making periodic forays into Java. I've come to form the opinion that all these languages are the right tools for certain jobs - except BASIC, which I never gave more thought (after all, it wasn't a real programming language).

Recently, I came across an exciting program that is selling well in a niche market. The folks who created it are making a comfortable living selling this professional software, and asked me for some feedback about the feasibility of porting their program to the Macintosh. They sent me the code, I popped open the archive and found... BASIC.

Well, I guess the conclusion here is obvious, these folks had missed or ignored the wisdom that was imparted to me on what constitutes a real programming language, and gone out and built a professional, popular program that they make a living from. Amazing what you can do when you don't know that you're not supposed to be able to do it. It kind of reminded me of two guys in a garage building a computer company, despite common sense. It definitely reminded me of all those times that folks suggested I get rid of my Macintosh and buy a real computer.

So, properly chastised, I've been taking another look at BASIC.

BASIC on the Macintosh is in good shape these days. We're reviewing a new BASIC development system called REALbasic in this issue (it looks good), and we're planning on reviewing other BASIC products in upcoming issues. Future BASIC II was a finalist at the Macworld awards this year, Mainstay recently released version 2.5 of VIP-BASIC, and Visual MacStandardBASIC is currently one of the hottest selling development products I've seen in a long time. There are plenty of tools out there for using BASIC on the Macintosh. When you consider how easy BASIC is to learn, and how quickly you can start turning out applications with it, it's not at all surprising that BASIC is one of the most popular computer languages of all time. Next time I need to create an application or utility, I'm going to give some serious thought to whether or not BASIC might offer a quicker, and equally effective way to generate a solution.

It seems these days that folks are starting to appreciate a lot of simple solutions, which aren't classically thought of as real, iron-man programming. AppleScript is another example.

The AppleScript Developers kit (AppleScript 1.0), was first released in May of '93, but it wasn't until late in '93 that it shipped with a Mac OS release (System 7 Pro). Version 1.1 came out in early '94, and was later included with the System in 7.5. Then things seemed to coast for a while. My guess is that Apple was waiting to see if developers would bite, and developers were waiting to see if Apple would drop it. Developers have begun supporting AppleScript in their applications, cautiously, but continuously. I guess we hit critical mass at some point, because things picked up at Apple around July '97. The finder was made scriptable with Mac OS 8, which also included the first public release of AppleScript since early '94 (AppleScript 1.1.2). Now things seem to be speeding up. In 8.5, we're expecting a fully native AppleScript engine which looks like it will offer a ten fold runtime speed.

AppleScript has often been referred to as Apple's best-kept secret. One of the reasons it was created was to allow users to automate and control their workspace with easy to use, easy to understand scripts. Unfortunately, users didn't seem to get the message. While AppleScript has been around since '93, for years I've gotten confused expressions from users when I mentioned it, and downright shocked expressions when I told them a given application required it. It's taken a long time, but it's starting to look like Apple's little secret is coming out.

Apple had an entire section of their '98 New York Macworld booth dedicated to AppleScript (it may have been hard to spot, there was this constant crowd of folks around it blocking all the signs). Also, I've noticed that more and more applications these days are not just scriptable, but are replacing, or supplementing parts of the program that were written in C with "scripts" menus (for example the AppleScript menu in MailSmith or DragThing).

As someone who grew up in a Unix world, I'm intrigued by the trend. I can see a lot of reasons for it. AppleScript, like BASIC, is (IMHO) a lot quicker to write than C, quicker development means faster to market. It's also more flexible, and allows you to modify code after the compile (in much the same way resources let you modify data after compile time). Using both languages in the app means that you can choose where you need the speed of a compiled function, and where you can use the flexibility of an interpreted script. But, perhaps the most intriguing part is that it allows you to share and exchange scripts in much the same way OpenDoc promised the ability to share and exchange part handlers (the same way a dozen Unix programs might use the same program to edit text). Finally, extensions are going to be a real problem in system 8.5, with its protected memory. AppleScript just might offer the solution to many of the problems we rely on extensions for now (program initialization, system modification, and interapplication communication - for example).

I guess the bottom line is that I've learned something about what defines a real programming language, and gained a new respect for, and interest in BASIC and AppleScript. That new definition: whatever works.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All


Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.