You have found the "BEST" Term Paper site on the Planet!
PLANETPAPERS.COM!

We GUARANTEE that you’ll find an EXEMPLARY College Level Term Paper, Essay, Book Report or Research Paper in seconds or we will write a BRAND NEW paper for you in just a FEW HOURS!!!

150,000+ Papers

Find more results for this search now!
CLICK the BUTTON to the RIGHT!

Please enter a keyword or topic phrase to perform a search.
Need a Brand New Custom Essay Now?  click here

Programming

Uploaded by CollegeKid2002 on Oct 25, 2001

Let me say at the start that, as I write this, my experience is not that diverse, nor am I highly skilled in all the languages I've come into contact with yet. In the order I learned them, I know QBASIC, C, DrScheme, and Java. And, uh, Tierran. So when I say "imperative", I'm speaking from my C experience; "functional" refers to my DrScheme nightma..., er, experience, and "object-oriented" means Java, along with what I've heard about C++. My background in particular: QBASIC from early childhood to middle school or so. C starting after high school senior year. DrScheme in Caltech CS1 and CS2, freshman year. Java in CS3 the final third of freshman year.

So, what programming philosophy is best? One of the main things we desire in a programming language is being able to do stuff. Raw assembly offers no structure and is quite crocky and nonportable, but it's fast and powerful, and for this reason tight inner loops are often coded in assembler. (Whether they need to be is a topic for another time.) It's said that C combines all the power of assembly language with all the ease of use of assembly language, and C is indeed not a very high level language. It does offer much richer structure than assembler, of course, which is why I like C, and I haven't been daring enough to learn real assembly let.

The problem is, of course, that computers and their programming languages are too powerful. Computers work with so much input and data (which you usually can't make very many assumptions about), so quickly, and can do so many things to them, that humans really can't picture all at once everything that happens. What happens when we overdose on power? Bugs. Memory leaks, general protection faults, crashing, instability - all of these are due to programs doing stuff they shouldn't. A programmer is at fault if he causes this stuff to happen, but a good language ought to guide the programmer into using power carefully, without restricting (too much) his abilities.

We can see the simplest example of imperative programming in QBASIC. BASIC is much maligned for being sucky. And it is, for a number of reasons. Writing programs in BASIC leads to messy code devoid of form or structure, peppered with goto statements. And as we all know, goto statements are considered harmful. This is actually a good point....

Sign In Now to Read Entire Essay

Not a Member?   Create Your FREE Account »

Comments / Reviews

read full paper >>

Already a Member?   Login Now >

This paper and THOUSANDS of
other papers are FREE at PlanetPapers.

Uploaded by:   CollegeKid2002

Date:   10/25/2001

Category:   Science And Technology

Length:   9 pages (2,114 words)

Views:   1488

Report this Paper Save Paper
Professionally written papers on this topic:

Programming

View more professionally written papers on this topic »