Thursday, January 20, 2011

One Plus C

First apologies in the delay of my update. My Spring classes just started and I've been busy with them,But enough excuses no to the review. Now for those of you who haven't deciphered the title this review is on computer programing.What...wait...were are you going? Listen I know this seems like some thing that only complete nerds do and that is certainly what I thought as well and that maybe true for a lot of people. However, I decided to jump in and try my hand at this.
The first thing you will have to deal with when earning to program is what language to program in. You see different languages have different capabilities. I can't describe them all but a good rule of thumb is the more complex a result you want the harder the language will be. Don't be discouraged though there are a lot of books out there that can teach you the basics of the more common languages like C++,Java,C#,Applescript and others in about a day.
I decided to go with the most common C++.First thing first I need a program that will let me write and compile programs. A simple Google search will help you find free software fast. Personally I recommend DEV-C++. It's free and works well without too many functions to distract or intimidate the novice programmer.
I relied on text book and internet help forums to learn what I did an for the most part it was simple at first. In the beginning I recommend having a sheet of paper next to you as you're programing with a list of basic commands, what they do and how to use them. At first I found myself constantly looking back to this page to remember the key commands.Here's a quick example of a basic program

#include<iostream>
using namespace std;

int main(){
cout<<"Hello World"<<endl;
return 0;
};
And now the description. The first line is the header which shows what types of functions you use. the part in the brackets is the main function which is what your program does, in this case it sends out the message Hello World. This may look hard to remember but there are less than a dozen commands that once you learn you can start doing some impressive stuff. All it takes is some practice to remember the functions.
In the beginning this review was a chore. A lot of work to do some stupid stuff like say hello, but now that I've got the language down i find my self writing programs for fun just to see if I could. This last program I've worked on for more than 20 hours and all of it was fun.( In case you are wondering the program is  D&D character creator of the essentials line. ) All in all this review was fun for me but programming is not for everyone so I have to take that into account.
Programming gets
Noob score
(5/10) With all the reading and memorization needed it is hard to get excited when starting out. However, if you stick with it it become as easy as writing.
Overall score
(3/10) Like I said for me this is fun but aside from making weird little applications for your computer that only you will use there is little enjoyment to be found for the normal person.

No comments:

Post a Comment