![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
That's rather a bit of flamebait you have there. You might have put it a little more tactfully. I, like m0rb1d, started off on QBASIC and moved onto C. In my experience, I know I would have done better moving to Python or Perl before C, so I'm not sure why pointing that out counts as "crap", because in my case, it's perfectly true. I wasn't offering advice per se, I was merely recounting my own personal experience on the matter, since the languages myself and m0rb1d learnt are virtually identical, in case it proved of use.
|
|
|
|
|
|
#22 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
i wasn't discounting the wonderful abilities of these languages. i was suggesting that the OP continue learning on a fairly flexible platform for which there is copious documentation. python and ruby aren't crap, possibly suggesting the OP sum up all of their efforts to date as a cart of dung and start from square one with something else probably is.
hell, i started from javascript (hangs head in shame)
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#23 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
As for Javascript; I've been using it a lot recently, and it's surprisingly flexible, supporting higher level functions, class prototyping, dynamically modifiable objects, and a whole lot of other nice things. Whilst slow, it does boast more flexibility than a great many other languages, including C and Java. edit *coughs* Just realised how off-topic this actually is. Okay, I'm outta this thread ![]() Last edited by Arevos; Dec 7th, 2006 at 4:04 AM. |
|
|
|
|
|
|
#24 |
|
Newbie
Join Date: Nov 2006
Posts: 19
Rep Power: 0
![]() |
The whole intent behind my learning a programming language is because I go back to college in Spring, and, would prefer to be "refreshing" my skills, than to be in the same boat as most of the class. Last time I looked, I will end up taking 3 programming classes throughout the course, javascript, VB script ( it's what the program says ), and finally C.
After making attempts in the past to learn C, I can unashamedly admit that it is beyond my grasp without someone to explain alot of things to me. I would rank it up there with trying to learn a foreign language on your own. So, having said that, I was making an attempt to transition myself into C, hence starting with QBasic earlier. However, someone pointed out that QBasic and C are rather differen't, which is true. I appreciate the help given here, but I am beginning to think I will not fully grasp the language until I am in the actual classroom setting. |
|
|
|
|
|
#25 | ||
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
I said I was out of this thread, but I guess I'm a liar :p
Quote:
Quote:
But QBASIC is showing it's age, and it's methodology is starting to seem a little archaic. This is why you'll find people advocating Python, as it has a similar shallow learning curve, but is more relevant to modern programming. For instance, in QBASIC, you might write: INPUT "Enter a whole number:"; n%
PRINT "Your number squared is:"; square%(n%)
FUNCTION square%(x%)
square% = x% * x%
END FUNCTIONn = int(raw_input("Enter a whole number: "))
print "Your number squared is:", square(n)
def square(x):
return x * xputs "Enter a whole number: "
n = gets.to_i
puts "Your number squared is: " + square(n)
def square(x)
x * x
endBut in C, you generally have more fixed overhead. In order to understand what the code below does, you need a grasp of header files, functions, static typing, passing by reference, and the format strings of printf and scanf. Whilst Python and Ruby have similarly advanced concepts, their learning curve is far shallower; you can code simple programs with very little language overhead. #include <stdio.h>
int main() {
int n;
printf("Enter a whole number: ");
scanf("%d", &n);
printf("Your number squared is: %d", square(n));
return 0;
}
int square(int x) {
return x * x;
} |
||
|
|
|
|
|
#26 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
out of curiosity, what is your major? info systems?
that course track seems to imply web design.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Confusion With Pointers and Arrays | JawaKing00 | C | 10 | Sep 14th, 2006 7:33 AM |
| dll confusion | NightShade01 | Visual Basic .NET | 3 | Aug 15th, 2006 11:47 PM |
| nested array confusion :S | chepfaust | Visual Basic | 5 | Mar 14th, 2005 2:09 PM |