Learning to code

Status
Not open for further replies.
Well, first of all I've got an addictive personality: I'm addicted to a few things (food, etc). Certain addictions have kept me away from getting into coding, but now I really want to learn. I am also a bit lazy and I'm trying to get my ass up and start learning how to code. I really want to learn how to code (in C, C++ preferably). It seems like such a chore, there's so much to learn, anyone have any advice for a lazy ass? :)

I need a new hobby :)

[This message was edited by Alex on December 02, 2001 at 13:49.]
 

Paralis

Ars Scholae Palatinae
930
I'm a bit too lazy to Google today, but his website is www.bruceeckel.com.

I should say, though, that I found Thinking in C++ underwhelming when I looked at it--although, to be fair, I can't read anything of length off of a monitor; my mind wanders and I end up in IRC or here, etc. invariably. So ym, of course, mv.

Have you tried learning to program before? If so, what wsa it that lost your interest? I ask because I gave up trying to learn C++ my first time--it was only a hobby, and my book sucked (at the time, it was Beginning C++ by Ivor Horton), but I got quite bored doing console programs. It all looked like the QBASIC stuff I did in middle-school (the output, not the source), and I was probably too superficial to get around it.

This, of course, may not be the case with you. But I'd advise thinking about what it would take to keep you interested (for me, all it took was a decent book that used exercises to *re-inforce* the material). Your second language will be easier to learn than your first, so there's really no reason why you couldn't start somewhere else (Scheme, Java or Objective Pascal, for example) and then move to C++.

Oh, and for advice--force yourself. Set attainable goals, and then follow through. It really is that simple. I keep a large sheet of paper taped to my monitor with obnoxious questions about what I've done today to deter me from wasting time.
 
Originally posted by Paralis:
I'm a bit too lazy to Google today, but his website is www.bruceeckel.com.

I should say, though, that I found _Thinking in C++_ underwhelming when I looked at it--although, to be fair, I can't read anything of length off of a monitor; my mind wanders and I end up in IRC or here, etc. invariably. So ym, of course, mv.

Have you tried learning to program before? If so, what wsa it that lost your interest? I ask because I gave up trying to learn C++ my first time--it was only a hobby, and my book sucked (at the time, it was Beginning C++ by Ivor Horton), but I got quite bored doing console programs. It all looked like the QBASIC stuff I did in middle-school (the output, not the source), and I was probably too superficial to get around it.

This, of course, may not be the case with you. But I'd advise thinking about what it would take to keep you interested (for me, all it took was a decent book that used exercises to *re-inforce* the material). Your second language will be easier to learn than your first, so there's really no reason why you couldn't start somewhere else (Scheme, Java or Objective Pascal, for example) and then move to C++.

Oh, and for advice--force yourself. Set attainable goals, and then follow through. It really is that simple. I keep a large sheet of paper taped to my monitor with obnoxious questions about what I've done today to deter me from wasting time.
I had the same problem. I tried C++ in the past and I hated programming console programs as it got very boring for me. I'll try your method. What I want to do is be able to program usable applications such as something similar to my own FTP client, etc.
 

Paralis

Ars Scholae Palatinae
930
I had the same problem. I tried C++ in the past and I hated programming console programs as it got very boring for me. I'll try your method. What I want to do is be able to program usable applications such as something similar to my own FTP client, etc.

First, resign yourself to the fact that it's not going to happen for a while.

Then, find out what language(s) the computer science programs are taught in, in the schools you've applied to (this is supposing you're still considering CS as a major).

I recommended Java because it's what I'm studying now: and although Swing (Java graphical I/O) is as bad as people say, it's really not a bad language overall. The online resources and documentation are great, and nearly every major IDE (if you need it) has a downloadable trial. A lot of schools are also starting to teach in it primarily.

I've never really used much Scheme or Delphi, but they have their proponents and strong points, and tools for both are also freely downloadable.
 

AtlasDreams

Wise, Aged Ars Veteran
119
once you start learning, you're gonna want things to practice coding that will reinforce your knowledge. go to HS Syllabus. That's the syllabus I worked off of last year in 9th grade. It's can AP (college level) course though. Still, it's for beginners in c++. If you want to check your code, email me and I'll dig up my old programs and send them to you. Hope this helps.
 
Originally posted by AtlasDreams:
once you start learning, you're gonna want things to practice coding that will reinforce your knowledge. go to http://www.chagrin-falls.k12.oh.us/CFHS/apcomsci/apsyll.htm. That's the syllabus I worked off of last year in 9th grade. It's can AP (college level) course though. Still, it's for beginners in c++. If you want to check your code, email me and I'll dig up my old programs and send them to you. Hope this helps.
Hmm, I wonder if i can take the AP computer science test if I teach myself this (they don't offer AP CS at my HS).
 

AtlasDreams

Wise, Aged Ars Veteran
119
Yes, I'm pretty sure you can take an AP test even if they don't offer the course at your high school. I guess it could be considered an independant study. Talk to a guidance counselor, or go to www.collegeboard.com(i think? maybe .edu or .org), and look around. You could request their syllabus or something, which outlines the things that are on the test which you need to know. It's 80 bucks to take it or something, and most colleges give you credits if you recieve a 3 (out of 5) or higher on it (a 3 is a 50%! it's a damn hard test, but I got a 5 :))
 
Originally posted by AtlasDreams:
Yes, I'm pretty sure you can take an AP test even if they don't offer the course at your high school. I guess it could be considered an independant study. Talk to a guidance counselor, or go to http://www.collegeboard.com[i think? maybe .edu or .org), and look around. You could request their syllabus or something, which outlines the things that are on the test which you need to know. It's 80 bucks to take it or something, and most colleges give you credits if you recieve a 3 (out of 5) or higher on it (a 3 is a 50%! it's a damn hard test, but I got a 5 :))
What kind of stuff is on the CS AP test?
 

shabadu

Ars Tribunus Militum
1,851
I took the A test (as opposed to the AB test) 2 years ago and got a 4. That was pretty amazing since my teacher was largely incompetent and admitted that he was learning C during our first semester, and was going to learn C++ after that. That may have even been his first experience with programming.

The test wasn't hard. You can get copies of the old tests from collegeboard.com (if you're not too lazy to wade through the site).

One thing that you need to know is that they have a "case study" for each year. It's just a class that you have to know how to use. When I took it, it was "the big int". It stored integers larger than ?32767? in an integer array like a c-style string. The latest one I heard of was something about marine biology. I don't know the details of it, but I think it was like a fishtank simulator.

AP tests are good, you should take it.
 

AtlasDreams

Wise, Aged Ars Veteran
119
What kind of stuff is on the CS AP test?
The test is seperated into two parts, a multiple choice part (don't be so relieved, these are unlike any multiple choice you have ever seen) of about 40 questions, and a free response (writing code by hand) section with 4 problems, usually with 3 to 4 smaller problems within these. The multiple choice is for the most part tracing code code. CODE - what does it do? or...what is wrong with the code? It will be mostly matrices, vectors, strings, and for loops, with a few recursion tracing problems and a few random other things regarding efficiency, structures, classes and some other stuff.
As for the free response, you can expect every one of them to deal with classes, such as implementing member functions for a class. The first couple are fairly easy, but that last one (#4) is usually pretty tough. The third problem will regard implementing member functions for the Case Study, which is currently a marine biolgy thing that models fish in a tank.
However, I don't know how much use all of this will be to you, because after this year the college board is changing the language from C++ to Java. So if you plan on learning a language and taking the AP test, I would recommend learning Java. Also keep in mind, the test which I am referring to is the A test, not the AB test. I'm taking AB now, and the stuff we do is alot different than A, focusing heavily on abstract data types such as stacks, queues, linked lists, binary trees, etc.

And shabadu...
The test wasn't hard.
Then how come you got a 4? :)
 
Status
Not open for further replies.