Learning how to program software seems like a daunting task fit only for the geeks and nerds who lock themselves away in dark rooms staring at their monitors for days on end as they pour over thick manuals written largely in zeros and ones. Fortunately the reality is that its not as complicated to make basic applications as people may think. If it were, the majority of nerds wouldnt be doing it because the defining factor of our kind is an inherent laziness. Why do you think we like computers? The heaviest thing we have to lift is a monitor and thats done fairly irregularly and for a very short period of time.
There are many different opinions on how you should start programming. Some advocate the method of throwing yourself firmly into the deep end and if you dont drown then youre set for life. These people usually recommend getting stuck straight into C or C++. Others recommend a slightly easier starting point such as Java or C, still quite involved but with a few more safety nets built in. Then there is the kiddy pool school of thought that advocates such languages as Visual Basic. These languages are really easy to get started in. You drag a few elements onto a blank form and then write some code that reads largely like Standard English. All methods have their advantages, but Im a fan of starting somewhere in the middle with Java. My reasons for this are that Java enforces a certain amount of design and forethought as well as correct programming procedures that are somewhat absent from Visual Basic.
I cant go into every single language in one article because it would take too long and the only experience I have with languages outside of the Microsoft stable is some familiarity with Java. Here are a few details about some languages.
Java
Programming in Java is very similar to C/C++ development. It is object-oriented and well structured. There is wide usage of Java, and therefore there are a lot of libraries around that can be used in your Java program.
Pros:
? Java is platform independent, it can be run on everything.
? Its free, you can just download the SDK and go.
? Its easy to learn if you know C or C++.
? It provides automatic memory management.
? There are a large library of pre-built classes and many more available from around the net.
? Its quite safe. Its fairly hard (if not impossible) to damage your computer through programming in Java.
Cons:
? Speed. Java is quite slow, because it is essentially compiled at run-time by the systems virtual machine.
? It is difficult to compile into a stand-alone application.
? Memory pointers are not allowed.
? Some people dislike being forced into object oriented programming.
C
C has been around for years and has a large following. Many different people around the globe use it. A few other programming languages have also been written in C.
Pros:
? Large usage base. Easy to find help, other programmers, libraries etc.
? Simple core language, with further functionality being added through the use of libraries.
? Very powerful. If your computer can do it, it can do it through C.
? Low-level unchecked access to computer memory using of pointers.
? One of the fasted running languages.
? C code can be used in C++ applications.
? Programs are compiled and stand alone, no need for interpreters (sometimes external libraries will need to be installed on the target PC).
Cons:
? Relatively difficult to learn.
? Very little safety net. If you choose (accidentally or otherwise) to make a program that will access memory incorrectly and horribly break your system, it wont stop you. It only pulls you up on compile errors.
? Non trivial programs could be hard to port. Programs have to be compiled for each specific platform.
? Not strictly object oriented.
? Code can get messy easily.
C++
C++ is a derivation of the C programming language. C code still works in C++ programs. It is an object-oriented language and very powerful.
Pros:
? As close to a universal programming language, as youre likely to get at the moment. Its used everywhere.
? Object oriented technology included, highly supported and recommended, but not forced upon you.
? Programs are stand alone, no need for interpreters (sometimes external libraries will need to be installed on the target PC).
? Easy to port to other platforms if standard C++ guidelines are adhered to.
? Many libraries available for added functionality.
Cons:
? Quite difficult to learn. Youll never really stop learning new things about it (which is also a pro, I guess).
? Non-trivial programs arent easily ported if they use platform-specific libraries (e.g. DirectX etc.).
? Programs can be slightly larger and slower than those programmed in C.
Visual Basic
Visual Basic is a very easy language to use. Its code is similar to Pseudo-code and many times the developer can simply type what they think should work and it does, which is cool.
Pros:
? Very easy to learn
? Quick to implement an application or algorithm
? Lots of in-built functionality
? Recently added complete OOP support with the .Net upgrade.
Cons:
? Not as flexible as other languages, you cant do as much.
? Runs slower than C/C++
? Purely a Microsoft product and Windows based.
Where you start is largely up to you and what you want to get out of your programming. If you want to make it a career youre going to want to be familiar with the more industrial programming languages such as C and C++. There are still a lot of people out there experienced with these languages but youll be in a more specialized field. Youd have trouble throwing a punch in a crowded room without starting a scuffle with someone who could get a program going in Visual Basic. Start with a language that is suited to your skill level and when youve learnt a bit of that youll find it easier to move on to other languages. Ive found personally and within my group of peers at university that now that we all have a certain amount of programming knowledge, it really doesnt take much effort to get stuck into another language and code a program there. Most of our assignments are done through improvisation as we learn the specifics of a language necessary to implement the assignment. You may not get a program as cohesive and well written as you would like compared with if you had a better idea of what you are actually doing, but it usually works.
Dont let me kid you into believing that you can develop software with the utmost ease. Youll be sitting there staring at just three lines of code for two hours wondering why it doesnt work before you realize that your capitalization is wrong. However, it is a very rewarding feeling when you do get to the end of a program and it all works beautifully (at least until the user base get their hands on it and break it). So if youre even somewhat interested get in there and have a go. The worst that can happen is that youll rewrite your boot sector.
By Daniel Punch
M6.Net Web Helpers
http://www.m6.net
Previous ArticleNo Money Down Loans
Next Article Cell Phone Batteries, Life Expectancy
idea online
The internet makes it easy to start a business idea but what should you start? Discover the right business idea online for you to start with our definitive list of the best idea online. "Idea" is a fundamental concept representing the inception of thoughts, innovations, and solutions. It encapsulates the spark of creativity that ignites progress, guiding individuals towards novel approaches and discoveries. Idea are the seeds from which great achievements grow, fostering ingenuity, problem-solving, and forward-thinking endeavors across all domains.