first language
I will give sample bits of code each with the infamous hello world:
#!/usr/bin/perl
print("Hello World!");```
```markuppython:
#!/usr/bin/python
print "Hello World!"```
```markupC:
#include < stdio.h>
void main()
{
printf("\nHello World\n");
}```
```markupC++
#include <iostream>
using namespace std;
void main()
{
cout << "Hello World!" << endl; cout << "Welcome to C++ Programming" << endl; }
In my opinion, I would chose perl, its older than most of them, I am able to point you to many tutorials, books, etc. Perl is what 95% of exploits are written in.
Python is another one that is decent. I havent worked as much with it as perl, my opinion, perl is VERY similar to C and PHP. It is very fast execution on my box and I have a pretty weak setup.
Whatever you choose, its your decision.
Bl4ckC4t
Quote from Wikipedia: The idea behind object-oriented programming is that a computer program may be seen as comprising a collection of individual units, or objects, that act on each other, as opposed to a traditional view in which a program may be seen as a collection of functions, or simply as a list of instructions to the computer. Each object is capable of receiving messages, processing data, and sending messages to other objects. Each object can be viewed as an independent little machine or actor with a distinct role or responsibility.
Python is indeed close to C++. The only reason I am suggesting Perl over python is that perl is almost a match of PHP. The way perl is set up, once you learn perl, you will be able to learn PHP in a very short time. Where as Python isnt as close to PHP. Its more of a scripting language born to make an easy language.
No, Im not trying to start an argument between different languages, im merely stating my esperiences in programming. I tried all the different languages, ended up trying perl and picking alot of it up within a week. I have been writing perl for about 3 weeks and I am already coding alot of exploits for several things.
Bl4ckC4t
If u feel like learning C then c++ and so on .. Join us at http://learn2programme.999.org
Well if you havnt got the point from the majority of people telling you this, Python and Perl are probably the best starting languages. Go to http://outcast.ddns.info/ and check out the lecture schedule, we currently have both a python and C++ lecture comeing up on our IRC Lecture Hall so register and check it out.
I just started out learning VB.NET, and am also exploring ASP.NET. Visual Basic isn't really hard. I have only begun to write code in VB.NET, and i'm gaining a pretty fast understanding already. I was going to learn PHP, but found out that ASP.NET was a better route.
To figure out what languages you should learn first, you should consider what you want to do. e.g. Program for fun, Web design…..
Just so I dont cause a war between richohealy and I, I will post this link stating the advantages and disadvantages between perl and python.
http://infohost.nmt.edu/tcc/help/lang/python/vsperl.html
Its a very good read, its a bit long, but this will help you decide between perl and python. I would say learn them both at some point, but this will help you to decide which first.
Happy Hacking
Bl4ckC4t
Placebo wrote: I just started out learning VB.NET, and am also exploring ASP.NET. Visual Basic isn't really hard. I have only begun to write code in VB.NET, and i'm gaining a pretty fast understanding already. I was going to learn PHP, but found out that ASP.NET was a better route.
To figure out what languages you should learn first, you should consider what you want to do. e.g. Program for fun, Web design…..
Please back up why you say that ASP.NET is a better route?
ASP.NET is a Microsoft invention. it has all the advantages of PHP except for the fact that it is Microsoft. I have nothing against them but I do prefer PHP. I learnt VB6.0 then PERL then PHP/SQL so that is a good route.