23 April 2010

Where to Start Programming? 9 Language for you to choose.

I'll be using example codes for "Hello" world to give you and idea of the syntax and how it looks. I obviously will only display a small number of languages which will mainly be those that are often mentioned.

Each of these languages have their alternatives and there are plenty of languages to choose from. Which to start with, is your choice, but if you intend on becoming a good programmer you'll need to learn more than one. Some professional programmers I know, have used over more than all those mentioned within this guide.



1. Visual Basic
Visual Basic was derived from one of the earlier programming languages called BASIC. Visual Basic like it's predecesor was specifically designed to be easily learned and used by beginner programmers. Hence the name BASIC(Beginner's All-purpose Symbolic Instruction Code).

The programming enviroment in VB is a combination of visually arranging components or controls on a form, specifying attributes and actions of those components, and writing additional lines of code for more functionality and one of the first languages to use a graphical development interface.

Example:
Code:
Private Sub Form_Load()
' execute a simple message box that will say "Hello, World!"
MsgBox "Hello, World!"
End Sub

Getting started:
Making a login form By Warbot
Open and Close CD Tray By mudkippz
Making a Basic Keygen By groundzero


2. VB.net

Vb.net is a programming language that uses the Microsoft .NET Framework and the followup of previously mentioned visual basic. I'd advise to start learning vb.net instead of vb6 since vb6 is considered an 'old' language and is no longer supported. Personally I believe this is a good language to begin with, especially when starting to program in the .net framework.

It's an Object Oriented language and probably one of the more easier languages to learn. When starting with vb.net it's very important you learn the language while keeping to a set of programming rules since vb.net allows certain types of coding that are generally not allowed by other languages.

Nonetheless vb.net is a great language. Useful for designing basic applications, Database development, Fast development of more complex applications, ...

Example:
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox("Hello, World")
End Sub
End Class

Getting started:
ScanTime Crypter Tutorial By Drake
VB.NET Video Tutorials By Eleqtriq
Basics on vb.net (Nickname Changer) By me


3. C# ("C sharp")

Developed for modern and general-purpose programming, c# is also an object Oriented language. It is intended for component-based development. Also good programming language to start with since it has a lot of possibilities and with the right teacher/book it's not too hard to learn.

One of the most distinguishing features of this language is that it has no global variables or functions. All methods and members are declared within classes.

If you've already learned vb.net and are wondering which language to learn next, this is one of the best to go with. It'll make the way to other programming languages such as C++, C, Java,.. much easier. It's also very good as 'next programming language to learn' from another programming language.

A personal favourite of mine. :)

Example:
Code:
class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello world!");
}
}

Getting started:

C# Resources list By charny

4. C

C is one of the more popular languages. All executable cod is mainly contained within functions. everything from microcontrollers to the most advanced scientific systems can be written in C, and many modern operating systems are written in C.

Example:
Code:
#include

main()
{
printf("Hello World");


}

Getting started:
Basic C tutorial

5. C++

C++ is a very powerful programming language based on 'C'. Learning either one of the language is a step towards learning the other one since you'll pretty much understand most important things about the other.

You can pretty much do everything with C++ what you can do in C though for some things in C++ you'll need more code. There's a lot of discussion concerning which one is better but it's always a good idea to learn both.

Example:
Code:
#include

main()
{
cout << "Hello World!"; return 0; }

Getting started:
The Complete c++ Guide By Crow
C++ Tutorial Part 1 Basics of Programing By aMoKen
C++ Stub Builder Tutorial By stdio


6. Python

An interpreted open source language which was made to look good and like Visual Basic to be easy to learn. , Python is often used for rapid development.

Python has a lot of possibilities and is truly one if not the best programming language(s) I have heard of for beginners.

Example:
Code:
print("Hello, World!")

Getting started:

Fundamentals of Python 2.6 By HeadRush
Introduction to Python By XLII
Basic Tkinter Calculator By uber1337


7. Java
Java is also and object Oriented language that can be run pretty much anywhere. Its looks are generally comparable to c++ since much of the syntax is from C and C++.

Java is used for webservices(since it can be run on any platform), serverapplications for online forums, HTML processing etc,...
If you're starting in web development and HTML, Java is the way to go.

Example:
Code:
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, world!");


}
}

Getting started:
The teachings of basic, proper Java By tsgh mike
Advanced Calculator *4 Steps* By Co-exist
Getting started with Java Programming By Soul Collector


8. Perl
I don't know really that much about Perl so I'm going to copy this from what I've found online:

Perl borrows features from other programming languages including C, shell scripting (sh), AWK, and sed.[3] The language provides powerful text processing facilities without the arbitrary data length limits of many contemporary Unix tools,[4] facilitating easy manipulation of text files. It is also used for graphics programming, system administration, network programming, applications that require database access and CGI programming on the Web. Perl is nicknamed "the Swiss Army chainsaw of programming languages" due to its flexibility and adaptability.

Example:
Code:
#!/usr/bin/perl

print "Hello World.\n";

Getting started:
Perl #2 Looking at Examples By Minus-Zero
Perl introduction (group) By asbo
Viral Titan's Beginner Guide to Perl By Viral Titan


9. Delphi
And last but not least, Delphi! It originated from the Pascal language, which then became Object Pascal (pascal with objects support), and was later renamed to Delphi. With Delphi you can create small and powerful applications, which won't require to be installed, do not depend on Active X controls, or special dlls.

Initially meant to build windows applications, Delphi currently also builds apps for Linux and even the Microsoft .NET framework. You can do a lot with this language.

Example:
Code:
procedure TForm1.Button1Click(Sender: TObject);
begin
MessageDlg('Hello World !!!',mtInformation, mbOKCancel, 0);
end;


Hope this will help you. Have Fun Coders.
Source : HackForum.net

No comments:

Post a Comment