TweetFollow Us on Twitter

May 99 Viewpoint

Volume Number: 15 (1999)
Issue Number: 5
Column Tag: Viewpoint

Sep 98 Viewpoint

by Andrew Downs

Continuing from last month, we're inviting the contributing editors of MacTech to introduce themselves and their areas of interest to our readership, to share their Viewpoints with us. This month we've asked Andrew Downs to talk to about what makes him tick. Andrew programs in everything from Assembly, to Java, to AppleScript. Feel free to write to Andrew, with article ideas or opinions on these and other subjects. You can reach him at andrew@downs.net.

Nick DeMello, Editor

Hey, is this thing on? Okay, here I am at open-mike night on the MacTech Viewpoint page. I would like to say a few words about several of my favorite topics: Java, scripting, assembly language, and MacHack. I would also like for you to consider writing an article for MacTech. More on this later.

About Java...

One of the things that attracted me to Java three years ago was its relative compactness. The syntax was straightforward and the core API took months (but not years) to master. Since Java was so new, few people understood how to use it effectively. Applets were the rage, but in my mind the real power lay in the ability to easily write multithreaded, network-enabled applications. If I could firmly grasp those pieces, the rest would be easy, and I would be king of the Java world...

Or so I thought. Over the next few years, I was overwhelmed with all the additions to the core API, language extensions, integration and bridging of other technologies, a new component model, and even an entire operating system. But this hasn't resulted in erosion of my original skill set; rather there are numerous new areas to explore, and they complement each other. Sun seems to be turning out new technologies faster than most developers can absorb them. We should be thankful, since it means more opportunities in development, training, and documentation. This phenomenon also implies that most of us may end up being specialists, as the scope of Java technology expands beyond the grasp of mere mortals. Oh well, that's the relentless march of technology for you.

In the Macintosh arena, the Apple MRJ team has done a great job of bringing the Macintosh Java runtime environment up to or beyond industry standards. Java has a great future on the Macintosh.

Scripting

Several things impress me about the scripting languages (AppleScript, Perl) with which I am familiar: their power, compactness, and versatility. By "power" I mean a language that gives you access to system resources, network connections, files, and (ideally) threads. Compactness allows you to do so using only a few lines of code. Versatility manifests itself in the types of scripts you can write, and how close those scripts come to acting like full applications. Add-ons also enhance the versatility of scripting languages.

Scripts can act as wonderful "glue" to tie applications together. This is certainly true of AppleScript. We also see it in web development, with the use of Perl for CGI processing.

Since scripts are essentially interpreted (or compiled on-the-fly), I find scripting to be a bit more relaxing than the usual compile-link-run approach. If you haven't looked into scripting yet, consider it. You might be surprised by what they have to offer.

Assembly Language

What? Who programs in that anymore? Some people do. While I doubt many applications are written entirely in assembly, there are opportunities for using assembly code in projects. Plus, having an assembly listing available (and understanding it!) can be a great timesaver when the MacsBug "welcome" screen appears ten minutes into testing your new program.

I finally got around to reading "Where Wizards Stay Up Late", which is about the origins of ARPAnet and the Internet. The book contains a sentence or two about how early programmers really had to understand how specific computers worked, since most of the programs were written in machine language (of which assembly language is a much more legible abstraction). I think we may be in danger of losing this skill, since high-level languages (and their accompanying IDEs and debuggers) can do just about anything these days, including write the code for you! And those languages tend to attract new programmers. (By the way, I am pro-IDE, since in the right hands those tools are tremendous productivity enhancers.)

Besides, some of us think assembly language is fun. Cross-platform products may enhance revenue, but writing or debugging assembly code is more rewarding. Call me crazy.

Aside: I would like to see a PowerPC update to the book "Debugging Software with MacsBug". Is anyone working on this?

MacTech Articles

Finally, I want to encourage you to consider writing an article for MacTech. Why? Here are a few reasons:

Sharing: Mac developers form a fairly small community. But we also tend to be open. I don't mean giving up the source code to your company's sole revenue source. Rather, I am referring to showing techniques, programming style, and how to use emerging (and battle-tested) technologies.

Learning: this applies not only to the reader, but also to the author. I usually learn something new when I sit down to write an article, even if it's a topic with which I am already familiar. Continual learning is important to a programmer's career. How many of us are still doing exactly what we were doing three years ago? Not many: the industry changes too quickly.

Publicity: most programmers like to show their stuff now and then. Plus, you never know what may result: anything from a friendly email exchange to a job referral.

Whew, that was easier than I expected. Thanks for listening! Feel free to send me email containing article ideas, rebuttals, or even programmer jokes. My address is andrew@downs.net.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

How to deal with wind in Angry Birds Act...
Angry Birds Action! is a physics-based puzzler in which you're tasked with dragging and launching birds around an obstacle-littered field to achieve a set objective. It's simple enough at first, but when wind gets introduced things can get pretty... | Read more »
How to get three stars in every level of...
Angry Birds Action! is, essentially, a pinball-style take on the pull-and-fling action of the original games. When you first boot it up, you'll likely be wondering exactly what it is you have to do to get a good score. Well, never fear as 148Apps... | Read more »
The beginner's guide to Warbits
Warbits is a turn-based strategy that's clearly inspired by Nintendo's Advance Wars series. Since turn-based strategy games can be kind of tricky to dive into, see below for a few tips to help you in the beginning. Positioning is crucial [Read... | Read more »
How to upgrade your character in Spellsp...
So you’ve mastered the basics of Spellspire. By which I mean you’ve realised it’s all about spelling things in a spire. What next? Well you’re going to need to figure out how to toughen up your character. It’s all well and good being able to spell... | Read more »
5 slither.io mash-ups we'd love to...
If there's one thing that slither.io has proved, it's that the addictive gameplay of Agar.io can be transplanted onto basically anything and it will still be good fun. It wouldn't be surprising if we saw other developers jumping on the bandwagon,... | Read more »
How to navigate the terrain in Sky Charm...
Sky Charms is a whimsical match-'em up adventure that uses creative level design to really ramp up the difficulty. [Read more] | Read more »
Victorious Knight (Games)
Victorious Knight 1.3 Device: iOS Universal Category: Games Price: $1.99, Version: 1.3 (iTunes) Description: New challenges awaits you! Experience fresh RPG experience with a unique combat mechanic, packed with high quality 3D... | Read more »
Agent Gumball - Roguelike Spy Game (Gam...
Agent Gumball - Roguelike Spy Game 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Someone’s been spying on Gumball. What the what?! Two can play at that game! GO UNDERCOVERSneak past enemy... | Read more »
Runaway Toad (Games)
Runaway Toad 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: It ain’t easy bein’ green! Tap, hold, and swipe to help Toad hop to safety in this gorgeous new action game from the creators of... | Read more »
PsyCard (Games)
PsyCard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: From the makers och Card City Nights, Progress To 100 and Ittle Dew PSYCARD is a minesweeper-like game set in a cozy cyberpunk... | Read more »

Price Scanner via MacPrices.net

Price drops on clearance 2015 13-inch MacBook...
B&H Photo has dropped prices on clearance 2015 13″ MacBook Airs by up to $250. Shipping is free, and B&H charges NY sales tax only: - 13″ 1.6GHz/4GB/128GB MacBook Air (MJVE2LL/A): $799, $200... Read more
Mac minis on sale for up to $100 off MSRP
B&H Photo has Mac minis on sale for up to $100 off MSRP including free shipping plus NY sales tax only: - 1.4GHz Mac mini: $449 $50 off MSRP - 2.6GHz Mac mini: $649 $50 off MSRP - 2.8GHz Mac mini... Read more
13-inch Retina MacBook Pros on sale for up to...
B&H Photo has 13″ Retina MacBook Pros on sale for $130-$200 off MSRP. Shipping is free, and B&H charges NY tax only: - 13″ 2.7GHz/128GB Retina MacBook Pro: $1169 $130 off MSRP - 13″ 2.7GHz/... Read more
Apple price trackers, updated continuously
Scan our Apple Price Trackers for the latest information on sales, bundles, and availability on systems from Apple’s authorized internet/catalog resellers. We update the trackers continuously: - 15″... Read more
SanDisk Half-Terabyte SSD Optimized for Every...
SanDisk Corporation has announced the SanDisk Z410 SSD, a cost-competitive, half-terabyte solid state drive (SSD) that enables manufacturers to design for a broad range of desktop PCs and laptops.... Read more
Churchill Downs Racetrack Selects VenueNext t...
Churchill Downs Racetrack has announced an agreement with VenueNext to implement its technology platform for the start of Churchill Downs 2016 Spring Meet, which includes the 142nd running of the... Read more
Record 700 Million Pounds of CE Recycled in 2...
The Consumer Technology Association (CTA) reports that a record-setting 700 million pounds of consumer electronics (CE) have been recycled under the eCycling Leadership Initiative (ELI). According to... Read more
Price drops on clearance 12-inch Retina MacBo...
B&H Photo has dropped prices on leftover 2015 12″ Retina MacBooks with models now available starting at $999. Shipping is free, and B&H charges NY tax only: - 12″ 1.1GHz Gray Retina MacBook... Read more
15-inch Retina MacBook Pros available for $20...
B&H Photo has 15″ Retina MacBook Pros on sale for up to $210 off MSRP. Shipping is free, and B&H charges NY tax only: - 15″ 2.2GHz Retina MacBook Pro: $1799 $200 off MSRP - 15″ 2.5GHz Retina... Read more
Target offers Apple Watch Sport for $50 off M...
Target has Apple Watch Sports on sale for $50 off MSRP for a limited time. Choose free shipping or free local store pickup (if available). Sale prices for online orders only, in-store prices may vary... Read more

Jobs Board

*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Simply Mac *Apple* Specialist- Service Repa...
Simply Mac is the largest premier retailer of Apple products in the nation. In order to support our growing customer base, we are currently looking for a driven Read more
*Apple* Retail - Multiple Positions - Apple,...
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.