Question:
which programming lang. is better to start with?
anonymous
2007-09-02 01:08:24 UTC
hi
I'm completely new to computer programming languages and I want to learn one. which programming language is better to start with?
Thanx
Nine answers:
RO86
2007-09-02 01:55:05 UTC
you should start with c++, if you understanded it well it will be very easy for you to learn any language bc c++ will make you understand the concepts of programming also C# and java (the most used programming languages these days) built on the basics of c++. Go ahead start with c++
jplatt39
2007-09-02 06:01:49 UTC
I know I shouldn't cite Darth Sabbath by name, and I definitely shouldn't say anything which is criticism after doing so-- but he is soo close to right I can't say anything which isn't a commentary on his answer.



Back when I was in your position, BASIC was an interpreted language, as Python is today. That meant you called up an interpreter program and either issued your commands or wrote a program which issued them sequentially for the interpreter to act on. This meant, among other things, you could learn programming easily because you didn't have to think through how to phrase everything in advance if you had a reference book beside you and a computer in front of you. You could literally learn on the fly what the commands did and what computers do. And you could learn how to organize these commands into programs. This was what BASIC was designed for back at Dartmouth College in the sixties.



Visual Basic is a descendent of these interpreters. It does have a somewhat simple language. Since I don't use Windows, I don't use it and mostly see programs written in it distributed as either source code or exe files -- meaning it's a compiler which you have to write complete programs for before trying to get your commands to work. Python was really not created for beginners, sigh. It's awesome, but it really wasn't created for beginners. Neither of course was C which someone else recommended.



Frankly, I don't recommend Java because it was created for specific purposes. There is another language nobody talks about much called Lisp (for LISt Processing). It's very old, but people still use it. Like Java it is built on some very sophisticated thinking about what computers are, and I'm frankly afraid if you start with either you will come to rely on these ideas even when they are not -- as they sometimes aren't -- appropriate.



On the other hand, another language nobody talks about much these days is Logo, which was always intended as a simple language for beginners -- and children -- which is based on Lisp. Since it is an interpreter, and is still available as such, it offers the exact same advantage as the old BASIC interpreter. The disadvantage is we don't use the Lisp model for programming all that much any more and to move on you will have to make all kinds of conceptual leaps you may not even want to.



C is a highly compacted language which is closely tied to the architecture, both physical and conceptual, of the computers on which it was developed. It is not obsolete, but computers are more complicated and other ways of understanding how they work are equally valid. It is not necessarily the best language for beginners, but it is a good one.



Frankly, if you can afford it, the best advice anyone can offer you is if you have the money, ask at a local university or community college about courses for beginners and at least audit the first programming class (take it not for credit which is cheaper). Use whatever programming language they offer and when it is over see where you can take it from there. Some schools still offer pascal but that is a GREAT language -- for learning how to program. C++ is generally better or easier to learn under somebody's specific direction. So are most of the other languages.



Reading Darth Sabbath was very frustrating. He is just SOO close to right. I can neither agree nor disagree with anything he's said.
drusilla
2016-05-19 05:54:02 UTC
The two programming languages you mentioned are Object Orientated languages. If you learn one you'll find the other quite easy to learn also, albeit they use slightly different approaches to input and output of data. When I did a degree in programming the university saw it fit to teach Java first and then in the second year to introduce the C programming language. So to answer your question you should find it perfectly fine to begin with Java first. If you are planning on buying some books about Java to help you learn it, then I'd recommend a text book we used during our studies that sets a great foundation for Java titled, 'Problem Solving with Java', 2nd Edition, by Elliot B. Koffman and Ursula Woltz There is probably a more recent edition by now but if you grab a 2nd hand copy to save a few dollars any of their books would be good. By the way that book comes with a CD which contained IDE software for compiling projects and also some extra classes they wrote especially to accompany some of the projects they use as examples in the lessons. So if you buy the book make sure you get the CD. If you can't grab the CD they have a website mentioned in the book which contains the files you may want plus erratas to correct errors in the book missed before it hit the printing presses. Regards, tgtips
ZORCH
2007-09-02 01:18:14 UTC
For general purpose programming, the de-facto standard is C++ these days. Everyone is using it, although in my opinion it is a lousy language. Hard to learn, no graphic interface, no native string variables, platform dependent.



You might have a look at Visual Basic. Easy to learn and has a very good graphic user interface included. The Microsoft VB5 is the older one and can be had on the e-bay market for very little money. You can be on the air with something that works and is not embarassing very quickly. With buttons you can press, windows you can put numbers in, pull-down lists, all the bells and whistles. That would be my choice for first time. Quick success, minimum pain.
anonymous
2007-09-02 02:55:43 UTC
I'm going to play Devils Advocate and say Java is the best language to learn. There's plenty of resources over at java.sun.com and Java itself lets you work on a whole variety of platforms and extends into JavaScript for the web. The language is similar to C so it lets you work back into C, C++ and C#.

Visual Basic is a good language but it's becoming more tied to Microsoft as you find that it's embedded within most of the Office applications so can be a good second language to learn.
anonymous
2007-09-02 01:23:53 UTC
Python (http://www.python.org) is an excellent language for newbies, and is available on multiple platforms (Windows, OS X, Unix). I would personally recommend this just because it's so damn versatile.



If you want to focus on just Microsoft technologies, Visual Basic Express Edition 2005 or Visual C# Express Edition 2005 (msdn.microsoft.com/vstudio/express/ ) are excellent as well. Microsoft's Coding4Fun Blog (http://blogs.msdn.com/coding4fun/) and Beginner Developer Center (http://msdn.microsoft.com/vstudio/express/beginner/) are great resources to get started with.



EDIT: I hate to be a party pooper on the poster above me, but C is an awful first language. I highly recommend that all programmers learn C at some point in their path to hacker-hood, but not right off the bad. It's like teaching someone how to drive in a Dodge Viper. Sure, it's fast and powerful, but when you crash, you crash hard.
anonymous
2007-09-02 10:42:03 UTC
start with c for basic programming concepts

move to c++ for oop concepts

move to visual basic for GUI and windows application concepts

move to java for web applications

learn a database sql server or oracle

learn some HTML and scripting languages and you will be fine programmer that has value in job market also
anonymous
2007-09-02 06:49:22 UTC
Like any other software to run on computers, you need to decide what you want to use it for before you can decide what to use.



You wouldnt use a word processor for a spreadsheet, for instance.



So what do you want to be able to do with your first programming language?
anonymous
2007-09-02 01:22:35 UTC
c programming !!!

*easy to learn

*widely used nowadays

*helps in understanding all other languages



so start with c !!!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...