This FAQ was made by our teacher Vladimir Vladimirovich Ilyin based on the results of communication with school teachers of informatics.
VVIlyin - the author of our course “
Algorithms. Olympiad Programming ”, which is published in the public domain on the well-known remote training site on informatics -
informatics.msk.ru .
Q: Why Java? Many teach Algorithms in Pascal.A: Pascal really has many courses on algorithms, but it is completely outdated.
It does not have many features that, however, are not needed when it comes to algorithmic programming, but then with increasing levels - are necessary.
Q: Why Java? Python is now in fashion.A: As with any innovation, it is difficult to assess the consequences. Can we then explain that indentation does not tell the compilers of other languages? Explain the absence of minus the first element in the array? Where are all these magical Python functions in other languages? For good very quickly and unaccountably get used. Quite possibly, Python after Java is better than the other way around.
')
Q: Why Java? C - faster.A: Not much. And so, if you look, Java in algorithms is the same C. Only with protection against many errors at the stage of compilation of the type if (x = 0).
Q: Why Java? Any incomprehensible classes. OOP? Immediately ??A: Why not? You can not go into details.
Explanation
"
Line
Scanner in = new Scanner (System.in);
creates a keyboard input tool, and use
they can be using the nextInt () command:
int x = in.nextInt ();
"
Quite strictly and, together, so clear.
Q: Why Java? Eclipse is more than a hundred megabytes, and Java must be installed before this.A: Other modern environments "weigh" no less. Everything is put in a couple of clicks.
Q: A why Java? You need to create a project, then a class ...A: Also a couple of clicks. Taking into account the fact that everything can be written in the Olympiad in one class, or at least in one project, time is practically not wasted.
Q: Why Java? A child will come to the Olympics, and there Java is not installed, or the computer is old - it slows down.A: Speak in advance and check - the organizers must provide!
Q: Why Java? A lot of "extra" code - the program is cumbersome.A: No less than in Pascal with its beginners and end. “Superfluous” for good - lines ten, half of which can be charged to the generator Eclipse.
Q: And yet, why Java ???A: Java is used by many olympiadniki (for example,
http://habrahabr.ru/company/xakep/blog/235629 ), Java support is implemented in all competitions on algorithmic (sports) programming. That is, Java is, in fact, a universally recognized Olympiad standard.
However, Java is a universal programming language. On which you can create graphic applications with the same ease, develop network programs and do much more, including solving algorithmic programming problems at olympiads.
Finally, according to a survey of 300 developers published in Superjob magazine in September 2015, in 5 years Java will be the most popular programming language (this is how 25% of programmers surveyed think so).

We publish with the kind permission of Superjob.