The "PC Games" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
> #include
> #include
>
> main() {
> printf("Hello, press enter to program game");
> getche();
> program(awesomegame);
> return awesomegame;
> }
Doesn't compile :O[[[
#include
main() {
printf("Hello, press enter to program game");
getche();
program(awesomegame);
return awesomegame;
}
> Nope, it's SPARKada, a subset of ada. THe pre/post conditions aren't
> necessary in ada I know, but apparently for more robust code SPARK
> makes this compulsory.
Ye gods...
Do they force you to program it blindfolded, underwater, and using a keyboard with all the letters rearranged as well?
> Java is just so much more beginner and developer friendly that Ada,
> with ada you have to include compulsory pre and post conditions in
> order for the compile to be successful,in addition to including
> asserts and derives, even though they have nothing to do with the
> bare operation of the code.
While I don't disagree with the essence of your post, I don't think you're thinking of Ada, as it has none of the above. Are you confusing it with PROLOG/Haskell/Lisp?
For someone who wants to see results fast (and without resorting to the visual packages), Java is the best. And what Miserableman said, the docs are great.
> There is a reason it is so widely used for teaching, and that is that
> the very natural syntax makes it easy to understand the concepts.
> Once you understand that, the rest is just memorising the syntax of a
> language. And it always helps the old motivation if you can get
> something up and running fairly quickly.
My overriding memory of programming in Ada is the sheer frustration of working with strings or arrays, because of strict bounds-checking. The syntax derives from Pascal, which contains more words than the more symbolic C++/Java, but puts you at a disadvantage if you want to work in more mainstream languages in the future.
> I actually never recommended they start learning Ada, just that
> it was probably the best high level language to start learning,
> rather than say Java.
Java wins over Ada simply because its documentation is the best of any language, and the whole thing is spiked to make you program properly without blocking your progress the whole time.
Although apparantly you can earn a fortune in the defense/aviation industries if you're really good at Ada.