Question:
I'm interested in programming, what language should I learn?
2006-04-11 15:00:27 UTC
I'm completely new to programming.

In addition to just telling me a language, it would be really helpful if you could provide a reason and/or suggest some resources I could use for learning it. :D
Ten answers:
manixrock
2006-04-17 10:54:57 UTC
As you've probably realised by now, the opinions are split. When I was a "nooby" (like you :D) I had the same problems, but I had a huge problem - no internet (trust me, a simple search with Google would have saved me weeks of my life :P)Yow have it, so you're good to start learning programming. I wormly recomend Visual C# (everyone sais Visual Basic, but once you get how code works in general, you'll start hating Basic's syntax, and start loving C#, C and C++'s syntax). It's kind to begginers, and you can actually do some cool stuff with it. Plus it's very well documented on the ineternet, so you shouldn't have problems looking for help. I HIGHLY RECOMMEND you get Visual Studio .NET 2003 or 2005 (altough they are a few CD's, it IS WORTH IT ;) ). They come with a pretty big help file witch occupies 2 CD's (that's 1400 MB of text, but the net is bigger :P). Just get it, install and select File>New, and you've got your first Visual Basic project, witch will be an empty window. Next add a simple button (from the Components toolbox, drag the button-like image on the stage), double-click it, and you're taken to the code-editor. Here you can experiment with code, witch will be executed when you run the application then click the button.

After you've become at least advanced with it, you cand try the other languages, but for the begginer there are 2 kinds of languages (considering their purposses):

1) Desktop programming languages (usually programs that run in a wondow, ex: Paint, Minesweeper, Pinball... you get the ideea): Basic, C, C++, C#...

2) Web programming languages (like the code behind this page, and every other page on the net, and they require a browser program [witch is a desktop program by the way] to run): JavaScript, PHP, ASP, J#, Perl...

If you prefer Visual Basic over C#, that's ok too, but you'll find that it's much easier once you get used to the syntax.

Once you're ready to experiment with high-level languages (languages that have advanced operators), I must recommend Perl. It's a multy-purpose language (it's both 1) and 2)), and you can do just about anything you want with it with extreme ease and convenience. It's a pleasure to program with. Untill you're good enough.. good luck :P
2006-04-11 23:35:54 UTC
BASIC is good to start with because it's, well, basic...



PHP is the best for web applications. Either that or ASP.



See, it all depends on what you need to learn it for. I mean, you can learn Java, c++...whatever....



But there's different programming languages for different purposes.
sovbob
2006-04-11 22:27:40 UTC
That's a very broad question and depending on what kind of programming you're interested in will help you select the kind of language you want to learn.



There are literally dozens of programming languages out there suited for all sorts of purposes. Some languages aren't technically "programming" by the strictest definition, such as HTML and JavaScript but we'll include those in our discussions.



Programming essentially starts with a design. "What do you want this program to do?" From there, the design gets broken down into small tasks. These tasks are then implemented in the program where they work together to produce the desired result.



A program is implemented through "source code." This is what the programmer actually types at his terminal at 3AM while he's jittering because he drank 3 gallons of coffee.



The source code is then fed into a special program called a compiler that looks at the source code and converts it into machine code that the processor can use. (There's also another program called a linker, but that's a more advanced topic not relevant to this answer)



Alternatively some programs are never compiled, but rather interpreted by a special code interpreter. A common example of this is web pages using HTML. The web browser interprets the HTML text and displays it on the screen. No compiling is ever done. The advantage of this is that the program is guaranteed to work regardless of which computer it is run on (e.g. Macintosh, Windows, Linux, etc) The disadvantage is that interpreted programs tend to be less efficient than compiled programs.



That being said, let's contine on to a discussion of popular programming languages in use today:



C/C++:

I grouped the C and C++ programming languages together because they are nearly identical in syntax and perform very similarly. The major difference is that C++ supports "classes" whereas C does not. (Classes are an advanced topic not relevant to this answer) Most modern applications today use C/C++ as their programming language.



Java:

A hybrid programming laguage, Java was designed to have its applications run on any Java-Enabled computer, but still maintain the performance benefits of compiled code. It does this by compiling the code halfway into something called "bytecodes" that are highly optimized, but still cross-platform. From there, the Java Runtime Environment(tm) compiles the code the rest of the way for its particular processor.



HTML:

Not technically a programming language, HTML stands for HyperText Markup Language. It was specifically designed for creating web pages. Today, HTML can support 3rd Party plugins (e.g. Quicktime videos), Cascading Style Sheets, JavaScript (not to be confused with Java), and more.



Assembly:

A low-level compiled programming language. Assembly gives direct commands to the processor and its registers. As a result, programming in assembly requires an intimate knowledge of the CPU. Programming in assembly is very tedious, much like building a sand castle one grain at a time. However, because it allows the programmer to directly control the processor, it allows for extremely high efficiency applications. Assembly code is generally reserved for portions of operating systems which require a very fine degree of control.



There are many many many more programming languages in use today. If you like, you may be interested in reading about C#, Visual Basic, Python, Perl, Fortran, BASIC, and Pascal to name a few.
sorooros
2006-04-11 22:24:17 UTC
Pascal, it was created for educational purposes, after that learn Java or Python.
Arachne
2006-04-11 22:20:43 UTC
Resource wise use Planet Source Code (www.planetsourcecode.com) though theirs plenty of other excellent ones out their.



Programming wise Visual Basic .Net 2006 is the latest visual basic its a little more complicated than earlier versions of VB. That said you can still develop apps in it, in half the time it takes in C++. I wouldn't be surprised if you find in a few years C++ bites the dust and VB.Net (which is very similar in programming style to C++ now) taking over. C++ has been around since year dot the name is a actually a bit of an in joke C was the original language and it became C++ (C + One) in the new version. Its a powerful language and is still used a lot and no doubt will be around for a while yet. Java is great for web developing and has great ability for concurrency and support for complex software design. Not that vb/C++ don't but its what its very strong in, I did all my concurrency studying in java. Which is handy for multi user apps and website applications. I must confess I think the normal GUI (graphical user interface) applications for java really suck. I can spot them a mile off and its very difficult to find one that's actually any good. Its like the apps where designed for windows 3.1 rather than xp!



You can get some great free e-books of limewire for many different languages. Though really you would be best off doing a course from home to learn which ever one you choose. Or Uni/College course etc if your not already in work.



>>No offence intended to any vb, c++, java or anyone else for that matter thats my own pov so don't shoot me K!<<
mbiseca
2006-04-11 22:17:18 UTC
Hi, with all due respect guys, HTML is NOT programmig...

All languages have their pros and cons and it would be time consuming discussing them... But I agree that C,C++ is always a good start...
answerator
2006-04-11 22:08:38 UTC
Visual Basic is easy to learn, but, personally, it annoys me.



Do you know which colleges you're likely to end up going to (if you aren't already in one.) Some of them require programming courses in a certain language. Mine requires Java and I happened to know C, so I had to take an extra class because of it.
2006-04-11 22:07:34 UTC
when I took a programming course they taught us Pascal, other people I know learnt that first too



its not usualy used much for actual programming but is good for learning the basics and getting started
whatda101
2006-04-11 22:06:14 UTC
First, to get your interest you may want to start program HTML which is a mark-up language for web browser. It's simple and easy, and there are resources everywhere.



For the next step, start with VB.NET which is the newer version of Visual Basic. It's much easier for beginner to start with because some of its syntax are very straight forward.



http://www.w3schools.com/
questions_and_answers
2006-04-11 22:06:13 UTC
If you are new to programming then go for C. Once you master C the other languages will become very easy for you to grab. As far as books are concerned go for Book By Ritchie and Karningham(check the speling) as Denis Ritchie was the man behind C. U can also go for the book "Let Us C" by the indian writer Yashwant Kanetkar. That book is very simple one and easier to understand for the novice.


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