I'm confused about what you can expect to do with programming languages after you learn them. Can someone run through some of the more popular programming languages and what they do?
I'd like to try to teach myself programming, and it'd be easier if I had an idea of what kinds of programming projects I can do in any given language so that I can design one and learn the language in hopes of implementing it.
For instance, in what language can I make simple games? Where do more advanced graphics come in?
Name:
Anonymous2011-07-27 0:55
Write a real AI. The one that can develop speech abilities.
It should be easy, just provide it with a device capable of producing full range of speech formants, then invoke random search on this device, feeding output back to AI, developing pattern recognition and generation.
The greatest advantage of learning programming is not at all writing large programs, but automating minutely small tasks. If you use Linux/Unix, the greatest thing is to know how write moderately complex one-line commands that easily accomplish a task that would require 1000 clicks in a non-automatable GUI.
Similarly, most programs I've written are more complex than that, but still really simple: 10-100 lines C/Python/Perl programs that just do common things like looking up a link URL from a web page and launch a browser on the result, or format a directory listing on some special way, or choose a new random wallpaper for me, and other such things.
That's not to say that large programs are meaningful too from time to time, but that's not the primary advantage of programming. A wise man once said that "having a computer without knowing how to program is like having a gourmet kitchen and only use the microwave oven to heat fast food" and I agree.
If you want to make "simple" games, I'd recommend Python+pygame. It's an easy way to get started with simple 2D stuff.
Can someone run through some of the more popular programming languages and what they do?
I'll try:
- PHP: web applications, server-side (dynamic websites)
- Javascript: web applications, client-side (animation, calculators, small games...)
- Java/C#: bigger web applications (enterprise), applications with a GUI, videogames...
- C/C++: write your own drivers, program a robot. videogames. quite anything.
- Python: small script for automating tasks, web applications, GUI applications, videogames...
For instance, in what language can I make simple games?
Python or Java.
Where do more advanced graphics come in?
C/C++
Name:
Anonymous2011-07-27 9:31
What's actually difference between C and C#?
And then C++ and C?
When I was 11 I actually learned C++ but i was just like "oh kay can do what you tell me to do" and forgot whole syntax
Now i know only Pascal, which allows me to improve in few competitions, but i would like to attend TopCoder... so C++, yeah
I just went to toilet with a laptop. My intention was to watch porn and fap.
I coded Javascript and Python instead while shitting.
Forgot to fap.
Name:
Anonymous2011-07-27 11:47
>>10
C is for programming systems, but it can still be used for applications. It's the lowest language you can use that doesn't have to be rewritten for different computer architectures.
C++ is a super-set of C, to the point where C++ compilers are backwards compatible with C code. It's main addition is classes which are used as templates for objects. An object is like a dictionary with variables, which are called fields, and functions, which are called methods. The class is just a template for objects. If you were programming a game and you had a class called "baseGun" you would use it to create objects called "uzi","skar", or, "tommy". This way you wouldn't have to rewrite the code for each different gun. Classes are an example of Object Oriented (OO) programming.
He has a severe inferiority complex probably rooted in a mixture of actual physical defects1 with possibilities of a traumatic childhood and quite obvious mental and social defects.
All of these make him overcompensate online by telling us how many LoCs of industrial boilerplate shit he has written2 even though nobody cares.
__________ 1. Quite commonly very low stature, e.g. a Napoleon complex. 2. He even mistakes this for ``programming skill''.
and now i really feel like dick...
I started learning C++ with one teacher we had in our school when i was like 11-12, but i guess i didn't know what exactly i was doing, so only a small part of programming stuck to me
Now I know Pascal on pretty good level, attended few competitions, but have to get into logic thinking a lot more
That's why i am on Math school
Anyways i didn't fully understand what functions are meant to be in here??
Even when i probably worked with them... which is sad
Name:
Anonymous2011-07-27 16:51
//edit not functions, but classes
i am a bit tired :D
Name:
Anonymous2011-07-27 16:53
Then again
//edit
I tought it wouldn't be as simple as it is, but wikipedia explained it to me within minutes
Sorry for spam
KTHXBYE
Name:
Anonymous2011-07-27 18:31
You can do anything with any of the popular languages.
Except Lisp. You can't really do shit with Lisp.
Name:
Anonymous2011-07-27 21:54
>>31
What if instead of "simulate class" I had said "simulate object"?