Discussion Locked

programming languages

0 helpful
34 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to start programming & I don't know what language would be best for beginners.
Eventually I might need several development
language skills, but right now the important
issue is learning the basics.
Any insight into the best language to cover
the basic principles, then which languages are better suited to various types of applications would be sincerely appreciated.
thanks much
jsteedley@zdnetmail.com

34 replies

by rob wolfe

I am afraid that you have just started a religious debate :-). It has long been a topic of controversy what is the best language to learn first.

C - is a well structured language which is used by enough people and has been used long enough that there are well agreed on idioms and structuring techniques (as well as lots of folks to help). It has some weirdness in it but so do all languages

C++ - much less used than talked about (just my opinion). Most of the "C++" code I have seen writtenby folks is C code plus a couple of features from C++. This isnt to say that C++ isnt a valuable skill but it is much much more complex a language than C (i.e. support for generic programming)

Java - buzzword compliant, well thought out language which has many of the benefits of C and/or C++ and has left out some of the nastier issues like memory management and pointers. Not a bad first choice either, but it has a verylarge set of objects and methods to keep straight.

You note that I didnt mention VB. I am not a fan of languages (for learning) that allow you to use variables just by naming them. I know that you can change this behaviour in VB but it is the one thing that always can be counted on to bite you when you are trying to hack together something and your fingers get ahead of your brain. It is a pretty good glue language when you are dealing with the Win platform though.

As for my personal prefs for different problem domains I use:
COBOL - when i am doing reports, still quick and dirty if you know what you are doing
C - system level stuff, RPC
perl, awk, (some python)- automation on unix boxes
VB for apps - getting Win apps to talk to each other or to automate tasks in them.

I am not sure if i gave you anyuseful information in all that rambling above but I think that personally I would start with either C or Java and go from there.

Good luck

by rob wolfe

As I predicted, a religious debate has started. If you look carefully there are some commonalities among MOST of the postings. My suggestion is that you you dont worry about the particular language as much and find a good text that will show you a nice modular style and allow you to learn to program, you will find that the particular language is not as important as the author's ability to properly explain the concepts behind iteration, conditional code execution, etc.

If I recall correctly, the first "Real" programming book I ever had was one called Software Tools in Pascal by Kernighan and Plaugher (yes the Kernighan behind C and Unix). It is a wonderful LITTLE book that takes you through a lot of examples and explains the how and why of programming.

I have to agree with the plugs for Pascal, even though standard pascal is hideous in the I/O department, TurboPascal (and its child Delphi) fixed up a lot of those problems. There is a 100% free version of pascal that runs on a bunch of platforms (I am a unix fella btw) that can be retrieved from www.freepascal.org.

Happy programming

by donq

Business software development - Microsoft's Visual Basic with emphasis on VBA for Access, SQL-Server.
Internet Software = HTML, Java
Games + general = C++

by bob sellman

I'm going to suggest a different approach than starting with C++ or Visual Basic (VB), based on the assumption that you are not going for the gaming area, but rather toward solving business oriented problems.

I'd recommend learning about databasedesign and organization. Access is certainly a good one to use. My reasons for recommending starting with Access are the following:

1. You learn concepts of handling data. The relational database model is an excellent place to start developing an understanding of ways to handle and process a wide variety of types of data for a smorgasbord of requirements.

2. As you get more comfortable with Access and developing applications in Access you will start to learn VBA, which is a subset ofVB.

3. At some point you will have developed a sufficient comfort level with VBA that you can (and will want to) begin learning VB.

If you find that are developing an interest in other languages, learn them also. Java might be a good language to learn after you are comfortable with VB (or C++ if you take that route).

Enjoy!

by waterfall

I know that this question is Answered, but if you want to learn a language then you must try to keep the learning simple and easy. As mentioned, (Turbo) Pascal is a good basic program to learn the syntax use, an algorithms. If you like a more windows based program (not windows programming), you can use Oberon, almost the same use for syntax and algorithms, but a little diffrent in the running of your programs.

C++ can be started afther you knew a little oberon or pascal, it is almost the same use but more advanced and professional.

After you know the basics you can start thinking to use VB, Java or other languages.

I hope this will help you and others in the choice

Greetings,
David

by rrv

Straight forward answer is Learn Visual Basic 6. so that when the next version of visual basic comes u are ready to do web programming also in VB.

All the best
Raja venkatesh

by blaine moore

Personally I would recommend java so that you can begin learning Object-Oriented design. If you begin with C you are going to focus more on the procedural aspect and if you begin with VB then you are going to focus more on the GUI aspect.

The database idea is also a good one, although I think it is better to understand programming concepts before trying to tackle a database...databases are much less forgiving.

by bill.costa

I'd recommend looking at Python (see http://www.python.org). It has a lot to recommend it.

Pros:
* Its structured, and regular with few warts
* Its object oriented
* Its very powerful with things like regular expressions built right in
* There is a free tutorial on the web site and numerous books have been written on how to program in this language.
* It runs on many different platforms.
* Its free.

Cons:
* Not widely known or recognized, at least
in the corporate world.

Hope this helps.

by dragon emperor

Visual Basic is the easiest language to work with that requires the user to understand the least idiosyncrasies. The language allows you do did right into the guts of the program rather than having to mess with the messy UI (which VB mostly takes care for you). It also has the ability to do low level stuff and is every bit as powerful as C++. Unfortunately Microsoft is taking the ax to VB in the next version and it will be practically like learning a new language (in fact many GOOD habits inVB6 will actually be bad habits in VB.NET). So (much as I hate to say this since I have used some form of the BASIC language for over 8 years) C++ would probably be a better choice. Even with the upcoming .NET release you will still be able to usethe language (and it can be used on many other platforms to). Most of the other languages are either niche markets (like Java which despite its attempts to become THE language is much more hype than actual substance, and which Sun refuses to standardize despite the desire for this from companies like IBM (who have actually shown much more commitment to the language than Sun who appears to merely see it as a weapon in its battle with Microsoft) or dying remnants of once proud languages (like C,FORTRAN and Assembly whose speed is generally no longer considered worth the extra coding effort or COBAL that should just go ahead and let a bad language die).

What language to use usually causes quite a heated debate amoung developers and though ALL the languages have their fanatical supporters you will probably here VB or C++ most often as suggestions (I have used most of the languages out there and with almost all of them you could learn the basic programming skills, so with that in mindit is also good to choose one that will benefit you in its use as well).

by dachev

All those answers made me really sad...
Otherwise great professionals do not even know that they are things different than Windows...
Look, there is a general rule in programing, which will never be broken - making one language easyer for use is making its output unoptimized, slower and sometimes buggy. This is because to make it easy is to make the user do less job - this means the compiler to have this job already done and hard coded in it. Having so much code writen by others, folowing rules, works allways times slower than having this code writen by your self. Of course, nobody has the time to write everything alone. And don't let someone fool you with talks about 'optimizing compilers' - there is no copiler which can optimize its code even the half so good like a middle-level assembler programmer. I have developed 2 compilers already and I know - it is impossible.

When I develop a system software I use assembler and don't let people who have never seen assembler tell you anything about it... But it is not a good choise for a first language - it is the hardest one. When I do general programing I use C++ and much assembler in it, because I love to optimize my code. Under Windows I use Borland C++ Builder, which is same as Delphi (I just like C++), but Access and VB are not bad choises. Nobody said nothing about SQL - when we come to databases, this is a serious thing to consider. Under Linux I use (again) C++ and curently I am learning Perl.
And... The first language I ever learned was Basic for 8-bit computers, but I don't recommend any Basic to anyone and my second (and first serious) language was Pascal. Btw, Pascal was created to help students learn programming. And Java is really slooow.

by linda b.

No religion involved.

BASIC (Beginners All-purpose Symbolic Instruction Code).

Long Story made short -for a long time real programmers did not admit to their knowledge and ability of this language because it was a hacker's language, but it is a good way to learn the basics.

If you want to be a professional programmer (software developer, what ever) learn how to program. Believe me, the language does not matter, not for a true programmer. One of the, in my all-but-humble opinion, most misunderstood happenings of current "programming market" is that many simply mastered a language, but have little or no understanding of programming.

My advice,start with BASIC, it is the foundation of so much.

When you need to learn a language after you've mastered the basic skills - it will be about learning syntax.

FYI,
I. There are three data manipulation methods: (1)flat-file Mainframe based records and files, (2) Relational database tables, rows, (3) Object oriented classes (attributes, methods).

II. Pay attention to convention. Different companies may have their own, but get used to the need for it.

III. Document as you go, in the code, brief but explanitory.

IV. Use variable names that are meaningful and declare all variables even if the language does not require it.

V. For books, it's difficult to recommend. Spend some time in a large bookstore with big comfy chairs, grab a handful from the shelves, sit, have a cup of coffee and evaluate them.

Good Luck to you,
Linda B
programming since 1983

by john.herndon

I know the question has been answered, but I wanted to throw in my two cents ...

My first language was Fortran back in the seventies! Then Basic, GWBasic, QBasic and QuickBasic. There was also some Unix and COBOL thrown in there over the years. Currently most of my work is done in Visual Basic 6 (started out with VB 3), and also Access (97 and 2000). Mostly I design the forms and write the code in VB and use Access only for data storage. I'm not a huge fan of Access's form design or report design features. Overall I stongly favor VB because of its flexibility, the built-in compiler and syntax checking, and reasonably good support. And you can make it do just about anything you want. With the features of the new version, such as platform independence and increased web-related functionality added to that, it can only get better.

Three things are important: 1) LEARN THE BASICS of code design and program layout. Don't just sit down and start banging out code. Plan it out.2) Modularize. Break it down into smaller code modules that are called by each other, rather than a giant monster project. If you make the project too large and then go back and change something, the chances are pretty good that you'll change something you didn't want to. And last, don't reject ANY ideas that are offered to you (from friends or co-workers) regardless of how insane they sound at first. Some of my best work has come after I thought long and hard about a flippant remark a co-worker made about how to fix a problem.

Whatever you choose, get the basics down pat, stick with it, and don't be afraid to try anything!

Best of luck to you.

by brian_mcclain

Rule 1: Never start to bang out code on a computer until you have thought it out first. Create flow charts/Psedo code to make sure the system will work. Use LOGIC. I cannot count how many times I have had to help people debug their programs and just about every time the culprit is logic errors. And many times they do the same thing wrong again and again.
To learn the basics I suggest BASIC (which will teach you that you should instruct the computer to do each and every little thing) and quickly go to OOP languages from there. And if you need it take some courses in logic.
Good luck.

by limbo

Linda B, programming since 1983 has hit the nail on the head.

People will tell you THIER preferences, for example (in no order I add)

POP-11
Ruby
Perl
Lisp
Pascal
Fortran
BASIC
C
C++
Java
Python
Assembler
COBOL
Delphi
PowerBuilder
Dark Basic!!
Foxpro
Interdev
OWL
etc, (I'm sure you get the point).

But BASIC is THE language for beginners. Don't listen to anyone who criticises this approach.

I personally could program in any one of the above mentioned languages if pressed, and I've been doing BASIC since I was 6 (i.e. 20 years).

by limbo

And another thing I've learned, ALL programming languages are the SAME!!!

Declaration, Assignment, Iteration...

Some just taste better ;-)

by rayval

I will suggest that pascal is a good starting point in programming, it can give you the basics of the programming concepts, such as variables, loops, conditions, input, and output. and in the long run if you want a transition to another language itis much easier because most of its syntax is similar to the popular and powerful languages. And btw Pascal was primarily made for academic purposes. I hope this helps in your decision.

This discussion is closed to new replies.