Welcome to WebProNews Breaking eBusiness and Search News
Advertise | Newsletter | Sitemap | News Feeds News Feed 
 WebProNews Search Part of the iEntry network iEntry inc. 

But Is It Programming?

A.P. Lawrence
Expert Author
Published: 2006-04-12

WebProNews RSS Feed


Apple has put out a tutorial introducing programming with Core Data, Xcode and Interface Builder. Even if you've never written a line of code in your life - and maybe even especialy if you have not - go take a look at Building a Sample Core Data Application.

It's all drag and drop, with a very little bit of property and behavior check-off's. My question is this: is it programming?

It's certainly fascinating. It's also tempting: no programmer can read that and not want to jump in for a test drive. It's definitely "cool", it's obviously powerful stuff. But..

Let's digress for a moment. I stumbled across Charles Petzold's Does Visual Studio Rot the Mind? presentation. If you don't know who Charles Petzold is, I congratulate you for having managed to avoid even the most rudimentary exposure to Windows programming, but it's time to broaden your horizons. Charles may be programming on the wrong side of the fence, but he's a very bright and interesting guy and I recommend reading his blog even if it is Windows centric (I think he'll come to his senses some day). A recent snippet :
We programmers, as you know, have malformed brains. Most of the time we tend to think like engineers, but if you give a regular engineer a new tool, the engineer will say "Thank you for this interesting tool. I will keep it in mind if a problem arises that seems to require it."

A programmer, on the other hand, given a tool like XAML, starts to think: "This is very cool. I wonder what I can do with this in the absence of all other tools. What it would be like to live on Planet XAML? How would I move around? What would I eat? How would I procreate? And if the only tool I have is XAML, what do the problems look like?"
Ayup: that's the difference between engineers and programmers.

Back to "Does Visual Studio Rot the Mind?". If you didn't click through the link above, I want to tell you that you really should read it. But if you just aren't going to do that (it is long, and you have other things to do), let me extract the stuff most relevant to where this blog piece started:
Most of the really innovative interactive design stuff found its first expressions in the Windows-based versions of Visual Basic, and here's where I started becoming nervous about where Windows programming was headed. Not only could you move a button onto your form, and interactively position and size it just the way you wanted, but if you clicked on the button, Visual Basic would generate an event handler for you and let you type in the code.

This bothered me because Visual Basic was treating a program not as a complete coherent document, but as little snippets of code attached to visual objects. That's not what a program is. Thats not what the compiler sees. How did one then get a sense of the complete program? It baffled me.
Two paragraphs later he says:
For an author who writes programming books, all this stuff presents a quandary. How do you write a programming tutorial? Do you focus on using Visual Studio to develop applications? Frankly, I found it very hard to write sentences like "Now drag the button object from the tool box to your dialog box" and still feel like I was teaching programming.
Maybe because it isn't programming? I'm not sure what this is - it's something like programming, sort of, but not quite. Charles gives an example:
I saw an Avalon clock application that somebody at Microsoft wrote. It actually set the time once in code and used Avalon animation entirely implemented in XAML to keep the clock going. It was very, very cool, except that the 12 tick marks of the clock were implemented in 12 virtually identical chunks of XAML. The only thing that would have appalled me more was seeing 60 tick marks implemented 60 identical chunks of XAML.

I don't know what rule you go by, but for me its always been simple: "Three or more: Use a for". This is why we have loops. This is why we are programmers.
If all you are doing is rearranging furniture in a room, you aren't an interior designer. That's true EVEN IF THE ROOM LOOKS GOOD when you are done. You can "write" useful and usable programs with Visual Studio and Xcode etc. but I don't think it's programming.

Don't misunderstand: I'm not against it any more than Charles Petzold is. Or maybe I'm against it every bit as much as he is. It's hard to say where he is on this subject, and honestly I can't really pin myself down either. I could easily see myself developing something much like that Apple tutorial demonstrates. I just don't know that I'd call it programming.

I'll leave this with a final quote from "Does Visual Studio Rot the Mind?". Charles relates doing some simple C programs to solve a puzzle posed in a magazine. He describes some of the thinking that takes place before actually writing code and then says:
Even after this preliminary process, there's still coding to do, but there's no APIs, there's no classes, there's no properties, there's no forms, there's no controls, there's no event handlers, and there's definitely no Visual Studio.

It's just me and the code, and for awhile, I feel like a real programmer again.
Like a "real programer". 'Nuff said.

*Originally published at APLawrence.com

Add to | Digg | Yahoo! My Web

Technorati:

Receive Our Daily Email of Breaking eBusiness News


About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com

WebProNews RSS Feed

More Expert Articles Articles

Contact WebProNews
Advertisement





TOP NEWS

Targeted Information for Business
WebProNews is part of the iEntry network

Internet Business: Marketing: Small Business:
WebProNews MarketingNewz SmallBusinessNewz
WebProWorld AdvertisingDay PromoteNews
EcommNewz SalesNewz EntrepreneurNewz

Software: Search Engines: Web Design:
WebMasterFree Jayde B2B DesignNewz
NetworkingFiles SearchZA FlashNewz
SecurityConfig SearchNewz WebSiteNotes

Developer: IT Management: Security:
DevWebPro ITManagement SecurityProNews
DevNewz SysAdminNews SecurityConfig
TheDevWeb NetworkingFiles NetworkNewz

The iEntry Network consists of over 100 web publications reaching millions of Internet Professionals. Contact us to advertise.
eBUSINESS RESOURCES






 Advertise | Contact Us | Corporate | Newsletter | Sitemap | Submit an Article | News Feeds
 WebProNews is an iEntry, Inc. ® publication - $line) { echo $line ; } ?> All Rights Reserved
About WebProNews
WebProNews is the number one source for eBusiness News. Over 5 million eBusiness professionals read WebProNews and other iEntry business and tech publications.

WebProNews provides real-time coverage of internet business.

Free Email Newsletters:
WebProNews SearchNewz
WebProWorld DevWebPro
Marketing SecurityNews
Plus over 100 other newsletters!

Send me relevant info on products and services.


WebProWorld
Ten most recent posts.

NetworkingFiles
Featured Software

WebProNews in the News
View all recent mentions of WebProNews from around the world!

Recent Articles On ...
Google eBusiness
Yahoo Ask Jeeves
MSN Blogs
Search Engines Blogging
Affiliate Programs Marketing
eCommerce Advertising
eBay Sun Microsystems
AOL Adsense
Microsoft Adwords
Oracle IBM
Amazon Apple
SEM Mac
SEO iPod
Adsense XBox
PR Adobe



iEntry.com WebProWorld RSS Feed WebProWorld Contact WebProNews Print Version Email a friend Bookmark us