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

Latest Forum Discussions

See All

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 »
Frozen Synapse (Games)
Frozen Synapse 1.0 Device: iOS iPhone Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Frozen Synapse is a multi-award-winning tactical game. (Full cross-play with desktop and tablet versions) 9/10 Edge 9/10 Eurogamer... | Read more »
Space Marshals (Games)
Space Marshals 1.0.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.1 (iTunes) Description: ### IMPORTANT ### Please note that iPhone 4 is not supported. Space Marshals is a Sci-fi Wild West adventure taking place... | Read more »
Battle Slimes (Games)
Battle Slimes 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: BATTLE SLIMES is a fun local multiplayer game. Control speedy & bouncy slime blobs as you compete with friends and family.... | Read more »
Spectrum - 3D Avenue (Games)
Spectrum - 3D Avenue 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: "Spectrum is a pretty cool take on twitchy/reaction-based gameplay with enough complexity and style to stand out from the... | Read more »
Drop Wizard (Games)
Drop Wizard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Bring back the joy of arcade games! Drop Wizard is an action arcade game where you play as Teo, a wizard on a quest to save his... | Read more »

Price Scanner via MacPrices.net

Apple’s M4 Mac minis on sale for record-low p...
B&H Photo has M4 and M4 Pro Mac minis in stock and on sale right now for up to $150 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses. Prices start at only $469: – M4... Read more
Deal Alert! Mac Studio with M4 Max CPU on sal...
B&H Photo has the standard-configuration Mac Studio model with Apple’s M4 Max CPU in stock today and on sale for $300 off MSRP, now $1699 (10-Core CPU and 32GB RAM/512GB SSD). B&H also... Read more

Jobs Board

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