New post Sent from: groverloaf (168 ) Sent: 07:43 PM
I am truly interested in learning the basics of programming. So, seriously, what's the "hip" programming language the kids use these days?
Depends what you're programming for and what things you really "need"... all languages are probably capable of being used for nearly any purpose (esp. if it's Turing-complete).
PHP is a web scripting language, the output of which is anything that can go on a web page. It also allows for calculations and things like that, of course. Web sessions are generally considered "stateless", meaning any information you gather from the user on one page is lost on the next, so you would also need some kind of database to store data persistently. Thus, PHP/MySQL is a good combination, and one the site uses, if you're making a game that can have an architecture involving multiple page loads.
Most other games, however, have live graphics (to some extent), and so you can't rely on a language that just generates HTML. Instead, the application itself must be dynamic. On web pages, most people use either Flash (preferred, from what I've seen) or Java to do this.
On the other hand, you get some advantages with a desktop application, especially in terms of if the application is large (which would make a web app take forever to learn); those are done commonly in C, C++, Java, maybe C#/VB.NET if you're designing for Windows.
All I've said so far is severely oversimplified... sorry. :-) What I'm trying to say is, sorry, but there is no simple answer to the question of what is a "hip" or easy language to learn, or what's most useful for a game, or what.
If you truly want to learn to program, you should just pick a language, download a compiler or interpreter, find a tutorial, and just CODE! You know? I recommend starting with C, C++, or Java, and just writing console apps, things like "guess the number", maybe tic-tac-toe using ASCII art to print the board... etc., until you learn control flow and the basics of design. Then you can learn a graphics library for your language, or else switch to something else to broaden your knowledge.
I can post links later.