HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Best start for programming?

Hey Gang,

I'd like to teach myself computer programming, so I can eventually teach my students (sharp middle schoolers).

What's the best place to start?

I don't really have anything that I *need* to write a program to do, I'm just interested in cultivating the skills and understanding to appreciate programming. In this regard, I'd be open to learning a language that would help me lay a solid foundation, even if I ended up having to learn another language (once I got up to speed on the first) to actually get something done.

Thanks in advance,

M

PS: Solid book recommendations or online tutorial sites would be much appreciated.

Re: Best start for programming?

Re: Best start for programming?

If you want something that will lay a solid foundation for programming, you will need to learn a language like C or C++ (or both). You will have a good understanding of data structures and algorithms with those languages that other languages may hide/lack.

If you're looking to learn programming quickly to do things quickly, you should learn a scripting language such as Perl, Python or Ruby (all of which have interpreters written in C might I add).

But you will understand what scripting languages do &quot;behind the scenes&quot; better if you learn C or C++ IMHO.

I usually buy books that are from the creators of the language (The C Programming Language, The C++ Programming Language, Programming Perl, etc.), I've never gone wrong with them, but they may be a little hard to follow if you're completely new to programming. Programming and knowing a language are two separate things. Programming is about knowing how to use a tool effectively and using it to solve problems.

Re: Best start for programming?

C

one of the hardest languages to learn, but it'll pay off in the long run

especially cuz ur gonna be teaching other people howto program i would recommend C. A good C book will teach you how to program the right way, while other (more easier) languages will make u depend on the safety factor of those languages and it will basically make u a less good programmer, and it will do the same for ur students as well

Re: Best start for programming?

I hate to agree with GnuVince for once [smiles] but I would start off with Python or Ruby. Start simple. I started with Basic when I was 7 years old. From there, move up to C and C++ and then if you're feeling dangerous, try some assembler. Even if you don't program with assembler, it really helps you understand how things work at an even greater level and will improve your programming with other languages.