help to learn scripting

There are 5 replies in this Thread. The last Post () by Bullwinkle.

  • OK! Can anybody help me .. like give me programs and link i can learn stuff from .. the basics should do for now ..
    please be so kind and if you know a place i can learn lets say java or c++ or even some other language then please tell me :)


    with regards
    RavenMcDougal


    MY AVATAR IS UNIQUE


    From the darkness we come to the darkness we all shall go
    ........................................................................................
    Facilis descencus Averno. Qui non vetat peccare, cum possit, iubet. Sine cruce, sine luce, nihil interit. Pulvis et umbra sumus.


    Translation:


    The descent to Hell is easy. He who does not forbid sin commands it. Without the cross, without the light, nothing dies. We are but dust and shadows.
    Eve online chars: RavenMcDougal

  • Where to learn scripting? Try your local library or the Internet. Or a "... for Dummies" book.


    Sorry... just kidding. :) But your question is difficult to answer because it is too broad.


    "Scripting" can mean anything from a shell script or batch file, to a web page, an extension for an existing program, or beyond. Some people even use the term to describe programming which is, technically, slightly different. Scripts are interpreted, whereas programs are generally compiled. There are some "interpretive programming languages" which blur this distinction.


    The easiest way to learn any of this is to pick a (small!) project that you want to do, and then learn whatever language you need to learn in order to do the job. There are many books and web sites that can help. Google is an ideal place to look for examples and tutorials that will help you.

    There are 10 kinds of people in the world: Those who understand binary, and those who do not.

  • You're targetting object oriented languages to code actual applications, ie. executable scripts?


    Java is cool, versatile and can be compiled for most OS'.
    C is powerful aswell, and if you know C, you're only a step away from PHP and some server-side scripting...


    But as Bullwinkle said, start small, and work your way up. There's a load of tutorials for each one of those languages.

    |DP|Shock · |DP|Shockwave · |DP|Skyfall · |DP|Red.Dwarf

  • emm yes i was actually more as interested in the executable scripts of course my major gol is to maby somday be able to make a game lol :P like the old days i kinda got the theary how it all works but the problem is how to make it actually work so i would try i think java for begining so if you can give me some advice on what books i could buy possebly from the net asi kinda like to hold a book near me if i learn something ...and not click betwin pages in the browser :)


    MY AVATAR IS UNIQUE


    From the darkness we come to the darkness we all shall go
    ........................................................................................
    Facilis descencus Averno. Qui non vetat peccare, cum possit, iubet. Sine cruce, sine luce, nihil interit. Pulvis et umbra sumus.


    Translation:


    The descent to Hell is easy. He who does not forbid sin commands it. Without the cross, without the light, nothing dies. We are but dust and shadows.
    Eve online chars: RavenMcDougal

  • i was actually more as interested in the executable scripts of course my major gol is to maby somday be able to make a game


    Executables are generally programs rather than scripts, so it sounds as though you want to learn a programming language.


    I agree about Visual Basic as a good starter language. It is a modern, event-driven, language, and it supports both objects and procedural code. It is versatile, can be used in either script or compiled forms. It is easy to learn, well-supported, and there are many beginner-level sources of information.


    Why do you mention Java? There is nothing really bad about Java, but it is a language that never lived up to expectations. J2EE has mostly failed, and there are problems with Java implementations on many platforms which make portability an issue. On the other hand, Javascript (which is not the same as Java) is both popular and common. Javascript is primarily for web development.


    For game programming, the only serious language to consider is C++. However, C++ is a very detail-oriented language. It can sometimes take a page of C++ code to perform the same action as a line or two of VB. When you are learning, you will find VB to be more forgiving and less frustrating.


    As Shockwave points out, there are similarities between C++, C#, Java, Python, PHP, and other languages. Personally, I would not bother with trying to learn plain C because it is an obsolete language. There is rarely any good reason to use straight C anymore, and it is not even a good language for learning because its use of memory and pointers is archaic compared to more modern languages. There are some environments that require the precision of straight C, but not many.


    Because of the similarities of C-like languages, another decent choice for starter languages is C#. It is one of the best of the modern languages, and its only real limitation is that it is Microsoft-proprietary. The good news about Microsoft is that they make the best IDE's (tools), by far, for application development. The bad news is that, since Bill Gates has gone into semi-retirement, the leadership of Microsoft has been sketchy.


    If you want the language of the future, then my bet is on Python. It is the most popular language at Google, and Google's cloud-based code currently has the best potential for competing with Microsoft in the long run. Python can be used to make web applications or applications that run on a local machine.


    PHP is very popular and very easy, but it is easy to write PHP badly, and there are many examples of that. In fact, it is slightly difficult to learn to develop well in PHP. However, the good news about PHP is that there is a lot of free code out there, and it is an easy way to get started on web scripting (which really is scripting).


    So there are a lot of choices. If you become a professional programmer then you will eventually learn several languages. Each new language that you learn will make it easier to learn more new languages.


    Ruby on Rails is another interesting platform. It is actually a combination of many languages, including Javascript, AJAX, HTML, XML, and MySQL. I don't think of Ruby on Rails as a beginner platform, because it uses so many different languages.


    To recap:


    - VB for a starter language.
    - C# as a C-like modern language with the goodness of Microsoft's development tools.
    - Python for long-term potential.
    - C++ for serious professional game development (best as a second language).
    - Other languages for special purposes.


    There are so many books available that it is hard to pick one. As I mentioned before, the "... for Dummies" series is a good way to get started. Also the Learning Visually series and Sam's books are good for beginners. Later, perhaps as a second book, the Wrox series has many good books that are clearly written with a lot of good detail.

    There are 10 kinds of people in the world: Those who understand binary, and those who do not.