Classic: Learning A Programming Language

This post was originally made on January 29th, 2007 on another blog I had.


You may not be a geek, but I’m sure you have always been curious as to what all that stuff on the screen of programmer actually means. You first need to understand that programming isn’t an easy task. Also, it requires dedication and the curiosity to learn it. Here are my thoughts on learning a programming language.Like I said in the introduction, this stuff isn’t easy. You may have heard of some magical programming language that is incredibly easy to learn, but it’s just a gimmick. To give an example, there is Visual Basic. By the title, you can guess that it is fairly simple. I have news for you though, it isn’t. Back in the day, BASIC was easy to learn, but no one programs in that anymore. Visual Basic is probably one of the easiest languages to learn, but it still requires reading a couple of books to really gain some experience in it.You shouldn’t get confused between markup languages and programming languages. HTML, the angled bracket tabs that allow your browser to display everything, is a markup language. HTML is easy to learn and isn’t used to program anything. If you really want to get into making programs for the web, you need to learn a web programming language.

Web programming languages are vast in number, but there are a few quality one’s that you should take a look at if you are interested. One of them is PHP. This site is actually powered by PHP. It isn’t the best by far, but it is the most widely used one. There is also Perl and Ruby. Those three are actually called server-side languages which means that they are parsed by the server before they are displayed to the user. Client-side programming involves Javascript mostly. Since Web 2.0 busted out, Javascript has had a second coming in the form of AJAX web apps and such. There are many libraries to help you out and if you’re interested in making all that glam, buy yourself a book and learn the basics.

There is also application programming. The majority of game development now takes place with C++. This is a complex language that may take years to master, but it will certainly be rewarding in both your sense of accomplishment and your salary. There is a program or collection of programs from Microsoft called Visual Studio. These components rely on Microsoft’s .NET Framework. That’s where Visual Basic is and also Visual C++ and Visual C#. Those are the most common ones. Visual C++ is different from normal C++ though. So you can choose either one or the other. When you use C++ to develop a game for example, you usually use a graphic library. You have probably heard of DirectX, but there are also others, like Qt.

Also, if you’re interested, there is programming for micro controllers. This is what I do on my robotics team and can be a pain, but it’s fun. When you are working with them, you have to take into account the memory limitations and capabilities of the microprocessor. If you are programming for a normal computer, you are able to use floating point numbers, on a microprocessor though, you would probably fry it. Microprocessors can be found anywhere from your car to your toaster. Someone has to program them, why not you?

I hope I gave you insight into the wonderful world of programming and maybe you want to get started on a project of your own. It can be frustrating at times, but that’s when you need to try your hardest to understand it. Sometimes you really have to push yourself because the programmers who made the languages usually make them for functionality, not ease-of-use. You can find programming books in most bookstores or online at Amazon. If you don’t have much money, fire up Google and find some tutorials.

Advertisements

About this entry