English What program language to learn?

93 replies
Goto Page
To the start Previous 1 2 3 4 5 Next To the start
09.01.12 02:16:39 pm
Up
DannyDeth
User
Offline Off
user oxytamine has written:
But C++ can do a lot more than C, so you're doing it wrong.

Well, the early C++ "compilers" used to convert C++ code to C and then compile it with a true compiler... so C isn't exactly down for the count.
09.01.12 08:34:04 pm
Up
FlooD
GAME BANNED
Offline Off
except modern c++ = c + 125235315234 new things
:(){ :|:& };: http://github.com/floood
11.01.12 01:43:49 am
Up
KimKat
GAME BANNED
Offline Off
You should learn Java or that thing called Auto It. It's very good for beginners.
11.01.12 02:32:21 am
Up
Sirosky
User
Offline Off
Learning Game Maker Language is an excellent idea. Well-designed for beginners and you can make stuff FAST.
11.01.12 02:42:23 am
Up
Starkkz
Moderator
Offline Off
I prefer BlitzMax. It's simple, you write a code and then push the compile button.
lol
11.01.12 02:46:26 am
Up
Snark
User
Offline Off
user Sirosky has written:
Game Maker Language


GML like a JavaScript and C++. Very easy to learn.
11.01.12 05:14:54 am
Up
bezmolvie
User
Offline Off
C is not really good for beginners, IMO.
First off, learn a scripting language. I learned Auto It. Nice little abstract GUI and, well, automation tool.
Python might also be a good choice. I don't use it, personally, but I've heard it's sleek and simple.

The reason I say this is programming - big projects, are not function-line things; they require a deep understanding of core programming concepts and, really, how things work. Without knowledge of basic concepts: types, variables, how integers are handled, methods/functions/commands, running things, et cetera, then you'll have an extremely hard time getting a foothold in a language.

Then I suggest Java, it's easy, fast (No, really, fast. Look it up. It being slow is a myth), it is extendable into a nigh any sized project, and it shows the concepts quite well. It's low level enough to give the programmer control over what happens (Or nigh all of it. Nothing is technically restricted), but high level enough to give a wide array (pun?) of tools to solve problems or execute common tasks that arise.
11.01.12 05:20:28 am
Up
DannyDeth
User
Offline Off
@user bezmolvie:
Java is slower, on modern machines, however, the difference is completely unnoticeable. But I just need to add that Java is not an ideal language to learn as a first-timer, when you learn a programming language you should learn how to make your own tools and not just fish them out of a "using" statement without understanding how it works.

EDIT:
user Sirosky has written:
you can make stuff FAST.

I personally think ( and believe others do as well ) that coding speed is inversely proportional to code quality.

@user FlooD:
Hence C++. The old C++ had 80-90% of the features that the modern one has, I believe most C++ coders follow a standard from the early 90's?
11.01.12 06:43:01 am
Up
ohaz
User
Offline Off
user DannyDeth has written:
@user bezmolvie:
Java is slower, on modern machines, however, the difference is completely unnoticeable.
Not completely right. It might be slower in some situations, but my prof compared the speed of some important algorithms in java and in C. They were faster in Java.
https://ohaz.engineer - Software Engineering
11.01.12 08:23:59 am
Up
DannyDeth
User
Offline Off
That is probably because of poor compiler optimization.
11.01.12 06:12:24 pm
Up
Lee
Moderator
Offline Off
The Java VM actually grew pretty sophisticated within the past decade. From what I've learned, the VM looks for possible loops within the control flow (this is actually a nontrivial task) and marks their head node for local "hot path" compilation, a procedure where branches marked as potential loops during the static code analysis is "execution counted" so that the "hot", or the most significantly visited, branches and the ensuing most dominant loop (nested loops will usually compile the inner loop first, and then the outer loop) will be compiled down to machine code and cached so that subsequent and similar program flows with the right typing/environmental conditions will execute the machine code rather than going through the actual VM. So a lot of more sophisticated code will only have a slight finite as opposed to linear in code size overhead over the equivalent program produced by an optimizing C compiler.
12.01.12 12:50:06 am
Up
bezmolvie
User
Offline Off
Java is slower. At starting. An extra five seconds when running a .jar. Everything else that's comparable language to language and not programmer to programmer, is either equivalent, or so nigh so that the difference is completely unnoticeable.
12.01.12 10:59:27 am
Up
DannyDeth
User
Offline Off
Okay, well, I hate Java and haven't dealt with it for over two years now... so that explains my incomparable stupidity in the subject?
14.01.12 04:23:34 am
Up
bezmolvie
User
Offline Off
Also, the reason I like Java more, is because it rather forces you to realize or figure out how said statement works. The Java default library is coded in Java. In a scripting language, or something with 'commands', it is programmed in the language the scripting language was programmed in.
To the start Previous 1 2 3 4 5 Next To the start