There is so much out there that it’s difficult to say what is best or the most useful… something that is easy and free is best place to start… An understanding of OOP (Object-oriented programming) is essential too BUT you pick that up as you learn
A quick and rewarding task is a ‘Hello World’ program…
As an example of Visual Basic Script (VBS) program :: Open notepad and enter the following..
MsgBox "Hello World"
Now save it (anywhere will do) as.... HelloWorld.vbs
Locate the file (HelloWorld.vbs that you just created) and double click it… you should see a message box pop up with ‘Hello World’ in it…. That’s your first program and demonstrates how you can write code without any complicated or expensive software… (VBS is akin to VB6 which in its day was as widely used as C, C++ and Java)
W3Schools is a good resource for basic tutorials, here is a link to the VBS tutorial
http://www.w3schools.com/vbscript/
Once you have mastered VBS you can try Java Script which is similar (text based) to VBS… for languages like C and C# (C-Sharp) et al, you need to use a compiler (or their IDE interfaces ie. Visual Studio for C#, VB.NET, C++, F# etc) to get code to work, is slightly more complicated….