|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Sep 2006
Location: NYC
Posts: 272
|
I'm currently taking BASIC for the first half of the year this semester of HS and was wondering what the next half aka C++ will be like?
I find BASIC to be kinda easy once you get the main ideas down (Dim your variables, equal them, answer them in labels, if then statements, just a few of the things I know so far in experience) |
|
|
|
|
|
#2 |
|
Wx geek
Join Date: Aug 2005
Location: Indiana
Posts: 6,638
|
Once you get the concepts of programming (in general) down (ie, input/output, logic, etc) learning a new programming language is mostly learning the syntax of the language. If you're comfortable with the concepts of programming you shouldn't have too much trouble.
ie, in C++ you still have to "dim" the variables... instead of "Dim i As Integer" it's "int i;" - you still have to declare the variables (and so forth), but it's how you go about doing that that's different. Although, I will warn you - C++ is more stricter about things, so it would be a good idea to make sure you get in the habit of not cutting corners (for example, I'm pretty sure C++ is case sensitive with variables and such, so make sure to get in the habit of keeping case the same in basic, etc)
__________________
"It is the way of man to make monsters and it is the nature of monsters to destroy their makers." Last edited by blue60007; 10-18-2006 at 03:50 PM. |
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Sep 2006
Location: NYC
Posts: 272
|
Oh cool cool. Yeah i'm more stricter with VB and I organize my stuff pretty good. We're gonna do an If/Then Project tomorrow because we finished all the notes for the chapter today. It doesn't look like that bad of a concept.
I think of it more as an Error Checker. But that's cool. Thanks. I kinda got worried that it would be like way harder lawl. |
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Sep 2006
Location: NYC
Posts: 272
|
Oh and I always wondered, how is the pay for like Software Engineering aka Programmer? I mean, I like computers and always wondered if it would turn into a career. Thing is though that will I have to sit in a small @$$ cubicle for the rest of my life?
That's what's turning me off about the whole thing. |
|
|
|
|
|
#5 |
|
Member (11 bit)
|
For me going into C++ in college with no programming under my belt, i found it quite hard. Now the things i though were hard are easy and the current things were learing (functions at the molment) seem hard. HS is a much slower pace then college so im sure you will get the hang of it as you have time to. I started college right after labor day and midterms are already comming up in a week.
Blue is correct, all variables are case sensitive. Its good to use the copy paste method so you cant get things wrong.
__________________
Xaser III AMD 2400+ (no time to mess around with OC'ing) Abit NF7-S 420w Enermax Noisetaker Radeon 9800 PRO 80g Seagate 60g Westarn Digital 512 megs OCZ Enhanced latency PC3200 2-2-2-3 Swiftech MCP-650 Swiftech 6002A And a Transmission cooler Temps- 28C idle and load even @1.8v Pics- (the first 6 are new ones) http://photobucket.com/albums/v231/-FLG-/ |
|
|
|
|
|
#6 |
|
Wx geek
Join Date: Aug 2005
Location: Indiana
Posts: 6,638
|
Yeah, C++ will be tougher (sometimes it's "strictness" can be frustrating), but like I said, knowing the concepts is key...
Here's a site that should give you an idea... (plug in job title and location...) http://www.salary.com/ |
|
|
|
|
|
#7 |
|
~ Ryan ~
|
I've never toyed around with C++ before, but I'd like to voice my opinion thus far: Learning another programming language is mostly just adapting to new syntax. However, only being able to write a few if / then statements in BASIC isn't over comlex... once you get into arrays and what not - it's not such an easy concept to understand no matter what language you are using... and that's still just scratching the programming surface.
there are a few things I do before I write each program: 1. Determine what the objective is 2. Make a flow chart 3. write psuedocode 4. draw pieces of code that are needed from my vastly growing library of other exercises (as to not having to write out lengthy code again) 5. comment as I go 6. finish code and then go back and read it over before compiling to make sure my logic makes sense. If you follow similar steps, and keep to proper code conventions... you shouldn't have a problem picking up another language. PS - I went from BASIC to Java.
__________________
RiotCats.com, an internet domain specifically fabricated and visually erected for the appreciation of the feline kingdom! |
|
|
|
|
|
#8 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Highly recommended that you stay away from BASIC as a first programming language. Teaches you really bad techniques.
|
|
|
|
|
|
#9 |
|
~ Ryan ~
|
Sometimes, like it was in my case, BASIC is the only option if you want to take programming during HS. My Java course is a first year college course, that I'm taking my junior year... next year, there is a continuation of it... but in 10th grade, my only option was BASIC.
|
|
|
|
|
|
#10 |
|
Member (9 bit)
Join Date: Feb 2005
Posts: 392
|
here, Toronto Canada, my daugther is learning PASCAL in grade 10 computer class. IMHO, PASCAL is much more easier to learn and more compatible with C/C++ in term of syntax.
__________________
words to live by: others don't know, I know. others know, I know more. others know more, I excel. one shouldnt read this far; above, is meant as an encouragement, translated from a Chinese Proverb. "He who angers you conquers you." : Elizabeth Kenny |
|
|
|
|
|
#11 | ||
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Quote:
QBASIC is what I learned with and it works well (for its intent) once you figure out how to use it as a functional language (a-la PHP4). I took high school "programming" and turned out to be like high school math - if you don't do it the *only* way the teacher knows how you get penalized for it. Personally, I think you are better off learning from a book but keep in mind my opinion is tainted due to my experience with poor teachers in high school. College is a completely different ballgame. I can't speak how it is done everywhere, but they did not teach us programming languages, rather theory and techiques. Our assignments were literally along the lines of "write a program which takes this input and does this using X language". That is all we were given and had to learn the languages on our own (classes were taught using psuedo-code). At the time, I thought this was completely unfair because it doesn't prepare you for the job market, but one thing I now realize is once you truly understand the techniques, you pick up new languages very very quickly because all you have to learn is the syntax. This is what truly prepares you for the real world because, like any other industry, programming languages come and go like fashion fads. When teachers teach you how to do things in only a certain language, it essentially pigeon-holes you into that thinking where it is difficult to step outside the box because that is the only way you were taught. I've seen probably a dozen cases supporting both of my scenarios. The moral of my story is to pay more attention to the theory behind what you are doing, because long term it will pay off (i.e. learn the skill, not the method)... I only wish I realized this while I was in school instead of the light bulb coming on 3 years later .Getting back to the point of this thread, if I had to choose now, I would definitely go with Java as first language. It is object oriented and extremely well documented. Addtionally, its syntax is about as "transferrable" as it gets and it is a relatively easy language to learn. I think Ryan is right on with this statement: Quote:
|
||
|
|
|
|
|
#12 | |
|
Professional gadfly
|
Quote:
But I never make flow charts or do p-code for the most part. Programming today is object-oriented, and OO techniques are different from the linear techniques of FORTRAN, BASIC, and those languages of old. True, there are times when you are going to be doing some very linear programming, and these ideas may help. But there are also times when your programs are going to be modelling real life in such a way that you need to think along OO lines. For example, when I was creating a tracking database, it was far better to think along the lines of "What data does a customer have, and what can I do with a customer? What about an order?" In OO programming, you are going to be creating "objects" and then manipulating them, sometimes asynchronously. It's different from programming in BASIC. I started out in BASIC too long, long ago. But it taught me very little about how to make good programs. |
|
|
|
|
|
|
#13 | |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Quote:
Creating an ER Diagram/Flow Chart/Code Skeleton/whatever you want to call it makes you think about what you are going to do before you start coding instead of realizing, "I should have done it this way" in the middle of coding. |
|
|
|
|
|
|
#14 | |
|
~ Ryan ~
|
Quote:
Flowcharts and psuedocode allow me to determine which way is the *best* way to tackle the problem determining on my current skill set. For example... the other week we had an assignment to take take a user input integer and then spit out the individual digits and their sum. in JAVA, this could be done quite quickly by using the string length and substring code... probably in under 20 lines of code.... however I, having a relatively exhausting and lazy day, decided to tackle it the mathematical way (using modulus division and what not) and it got really complex, really quickly... nonetheless, my way worked just as well and actually was capable of them adpating to many other instances... but it was also 3 of 4 times longer than it needed to be. I incorrectly judged which way was best to tackle this problem by automatically excluding the possibility of using strings becuase of the manipulation of integers. |
|
|
|
|
|
|
#15 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Depending on the problem, you can do different things.
Sometimes I draw flow diagrams, other times I draw class attribute diagrams. Sometimes both. Sometimes neither. It all depends on what *you* need to have a good grasp of the problem, and what you need to do to get it completed with a minimum of errors. The quality of your code always counts, and if you have poor coding habits, chances are, you'll end up with a shoddy program. Personally, I wouldn't touch C++ because of it's messy way of handling things and messy syntax. If you like the way it's handled, that's fine. Just make sure you engage in good coding practices supported by half way decent planning.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#16 | ||
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Quote:
Quote:
|
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hows this? (first build) | High Boltage | Build Your Own PC | 11 | 08-29-2005 05:21 PM |
| Kicking off new budget upgrade..Hows this sound? | Laggen | Computer Hardware | 9 | 12-11-2004 02:38 PM |
| How's This? | ShooTmE | Computer Hardware | 6 | 11-10-2003 03:04 PM |
| How's this PC look? | ammo | Computer Hardware | 14 | 03-05-2003 06:28 PM |
| Hows my build looking guys? | avx | Computer Hardware | 15 | 02-21-2003 05:18 PM |