Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-04-2004, 02:57 PM   PM User | #1
cegcubs05
New to the CF scene

 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
cegcubs05 is an unknown quantity at this point
Question best language to start with

hi

i'm starting to learn programming and was wondering what was the best language to learn. I've seen many people talk about C++ and Visual Basic and others, which is the best to start with.
cegcubs05 is offline   Reply With Quote
Old 03-04-2004, 04:25 PM   PM User | #2
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
I'm sorry but with the great diversity of fields within programming these days your question right now is the equivalent of saying:

I'm starting to learn how to drive and was wondering about the best vehicle. I'm heard people talking about Tractors and Mopeds, which is the best to start with?

If you can narrow down the kind of programming that appeals to you then the answer to your question can be tailored to fit.
__________________
Check out the Forum Search. It's the short path to getting great results from this forum.
Roy Sinclair is offline   Reply With Quote
Old 03-05-2004, 02:29 AM   PM User | #3
RadarBob
Regular Coder

 
Join Date: Jun 2002
Location: Round Rock, Texas
Posts: 443
Thanks: 0
Thanked 0 Times in 0 Posts
RadarBob is an unknown quantity at this point
I kinda agree, most any major language would be ok to start. But here's what I extremely, highly recommend..

Learn any language as long as the book you use is by Deitel & Deitel (a father/son team). I think their textbooks are great. Check out C How to Program which is 1/2 C and 1/2 C++ or Java How to program (I have both of these books) or C++ How to Program ... there are others. Check out amazon.com. Their "How to Program" books are practically identical, they just use different languages.

Their books are pricey, but that's because they've become so popular and are used in so many programming courses. Easy enough to find a used one. I bought my Java How to Program as used at a local university bookstore.
RadarBob is offline   Reply With Quote
Old 03-05-2004, 03:22 AM   PM User | #4
Antoniohawk
Senior Coder

 
Join Date: Aug 2002
Location: Kansas City, Kansas
Posts: 1,518
Thanks: 0
Thanked 2 Times in 2 Posts
Antoniohawk will become famous soon enough
Not sure of you path of programming, but I just started Java and find it to be a great language. What I actually started with, is a little javascript (still developing my skills), and it similar to Java. Java in my opinion is a like a new C/C++, probably not better, but newer. I highly recommend it.
Antoniohawk is offline   Reply With Quote
Old 03-05-2004, 12:24 PM   PM User | #5
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
Java < && !== C++ :P ( that's what I think anyways )

What language you learn depends on what you want to do.
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Old 03-05-2004, 01:29 PM   PM User | #6
RadarBob
Regular Coder

 
Join Date: Jun 2002
Location: Round Rock, Texas
Posts: 443
Thanks: 0
Thanked 0 Times in 0 Posts
RadarBob is an unknown quantity at this point
I think what is unsaid here is that learning the syntax of a language is one thing. Learning how to program is another. I've never had a programming course - and I've had A LOT - that per se taught me how to program.

If your really want to become a programmer your bookshelf should have much more than language specific books.

Once you're about 2/3 into one of those How to Program books get this one: Code Complete by Steve McConnell. It's my programming bible and it should be yours if you care about writing excellent code. In the back is a Top 10 List of books that "make up a solid foundation for a software professional's permanent library." I have many of them and I 237% agree.

I also recommend The Mythical Man-Month. This is one of several more titles suggested to augment the "top 10". It's THE classic tome known to all software developers who know anything. Like several of the "top 10" it was published 20+ years ago, but it's insights are still very relevant - and it's easier to get a hold of because a "silver anniversary" edition was published in 1995.
RadarBob is offline   Reply With Quote
Old 03-05-2004, 01:59 PM   PM User | #7
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
Heh - I prefer to study language theory and then learn programming by trial-and-error. Resources like SICP (uses Scheme as example language, and thus LISP syntax, which is quite unlike almost all other language syntaces) and HtDP (which also uses Scheme) are really good for learning programming basics, and they apply to many more languages than just LISPs.

If you want to learn an imperative language instead, C++ Primer (3ed) and The C ++ Answer Book are good startingpoints, even if you aren't specifically interested in C++.



As for a language, I don't think Pascal, C/C++ or Java are the right ways to go. They are very efficient, machine close (well, not Java), but aren't especially fault tolerant, and are hard to debug. A much better choice would be Objective C, Objective C++ or D.

Of course, I consider Python, Haskell, ML, Ruby, Eiffel or a LISP such as Scheme or Common Lisp, to be better choices. YMMV, however.
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 03-05-2004, 02:43 PM   PM User | #8
RadarBob
Regular Coder

 
Join Date: Jun 2002
Location: Round Rock, Texas
Posts: 443
Thanks: 0
Thanked 0 Times in 0 Posts
RadarBob is an unknown quantity at this point
I prefer to study nuclear physics by reading original copies of Oppenheimer's and Fermi's Ph.D. dissertations and tinker with the reactor I got used from Ebay.... I got the instruction manual from Homer Simpson. That should work.

Sorry I couldn't resist. You loves ya' liorean, baby?!

Last edited by RadarBob; 03-05-2004 at 02:46 PM..
RadarBob is offline   Reply With Quote
Old 03-15-2004, 04:44 PM   PM User | #9
Stowelly
New Coder

 
Join Date: Mar 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Stowelly is an unknown quantity at this point
just chuck yourself in at the deep end with c++ and learn from your mistakes. alot of people will probably say use visual basic or borland c++ cause of the visual aspects of it.... i learnt this way and i dont think its helped me very much due to having not much understanding of the object orientated side.... your better off learning C++ using visual c console programs up to being able to do advanced things such as polymorphism etc. then you should be ready for any language just got to learn the syntax
Stowelly is offline   Reply With Quote
Old 03-15-2004, 05:13 PM   PM User | #10
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
Jumping into the deep end is wrong. I've learnt that, most people probably have. You learn complex code before you learn coding principles, you code by memorizing patterns with a small degree of logic. You need to start off small and work your way up otherwise when you move into incredibly complicated stuff you won't even understand what you are trying to do.

And as for OOP, you don't learn that first! OOP IMO has nothing to do with learning to program. OO comes after you know a language, after you know programming logic. .. in fact it's another form of it. You can't just learn OOP you need to know the language first.
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Old 03-15-2004, 06:54 PM   PM User | #11
warhammerdude20
Regular Coder

 
Join Date: Dec 2003
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
warhammerdude20 is an unknown quantity at this point
i say no matter what, start with javascript. for the following reasons:

1) you dont need a compiler or any of that bish bash...

2) its easy to write your first program and it will start you on html

3) java is a sinch(for me, anyway) after javascript

4) after a bit javascript can teach you oop and its concepts

thats what ive found! if you want a really good tutorial, go to www.tripod.com and under "build and edit" will be javascript tutorial. written by David Thau.

he really makes computer programming fun (and halarious i might add).

but hey, thats me
warhammerdude20 is offline   Reply With Quote
Old 03-18-2004, 07:35 PM   PM User | #12
gsnedders
Senior Coder

 
gsnedders's Avatar
 
Join Date: Jan 2004
Posts: 2,340
Thanks: 1
Thanked 7 Times in 7 Posts
gsnedders will become famous soon enough
I would start with some form of BASIC as it is simple and will allow you to learn things to get you into more powerful languages.
__________________
Geoffrey Sneddon
gsnedders is offline   Reply With Quote
Old 03-18-2004, 07:47 PM   PM User | #13
Unit
Regular Coder

 
Join Date: Feb 2004
Location: WA
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Unit is an unknown quantity at this point
I started with writing batch files in MS-DOS

What you need to learn is basic flow of a program. It does not matter what language you use to learn the concepts, but do learn these - arithmatic/expressions, branching, conditional statements, loops, data structures.
__________________
Nobody is Perfect. I am Nobody.
Unit is offline   Reply With Quote
Old 03-18-2004, 08:35 PM   PM User | #14
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
I would not agree with the BASIC suggestion. BASIC languages are sloppier than most other languages, and allows bad habits to form without you realising they are bad habits. Which means that you'll have problems when moving over to a stricter, cleaner language.

It's harder to relearn somthing you've gotten used to than to do it right from the start.
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 03-18-2004, 09:20 PM   PM User | #15
RadarBob
Regular Coder

 
Join Date: Jun 2002
Location: Round Rock, Texas
Posts: 443
Thanks: 0
Thanked 0 Times in 0 Posts
RadarBob is an unknown quantity at this point
I agree totally w/ liorean.

Bet you can find a dirt-cheap-to-free Pascal compiler. That would be a good choice.
RadarBob is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:32 PM.


Advertisement
Log in to turn off these ads.