I am now 11 years old and I have a task - to 14 to know 2-3 Japanese (I set myself this task myself)

I already know JS quite well (it took 1.5 months to study) (html and css are on the list). But on one JS you will not go far ...

Now I choose what to learn first - python or java (I will still learn both of them anyway). As long as the preference for python, well, I'm not sure. And where will you advise me to go?

ps About me:

I like: cross-platform jap, opp, web development, android, notepad ++, open sourse (both alien and native), to attract friends to develop, self-learning jap, logical problems and math in general, I love JS syntax

I don't like: pascal, development environments (but not testing tools), if a = 1 then * (I like if (a = 1) {*}), $ before variables, slow technique and development for it (so don’t even write: " do not teach him, as he is slow "), comp. games, I hate everything apple (except canvas)

Also: I know a little English. and I can already read the documentation on it

pps write on the case, on all sorts: you still too early, learn the Russian language, for you it is too difficult, etc. I will complain.

Need a clear answer: python or java, and why.

UD1: That is, all occasions are on the side of java. And about the phyton there are reasons? Is java an almost perfect passage for a big start? UD2: Solved - java.

Closed due to the fact that off-topic participants Nick Volynkin , Vladimir Martyanov , Sergey Snegirev , Kromster , fori1ton July 21, '15 at 14:48 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • " Questionnaires are forbidden on Stack Overflow in Russian . To get an answer, rephrase your question so that it can be given an unambiguously correct answer." - Nick Volynkin, Vladimir Martyanov, Sergey Snegirev, Kromster, fori1ton
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 15
    "to 14 know at least 7 japs" I will reveal to you a great truth - you need to learn programming, and not learn the syntax of 7 and languages. I know JS well (it took 1.5 months to study), arguing that is not good? :) - Zowie
  • five
    > I know JS well (it took 1.5 months to study), we argue, what's not good? :) I fully agree with @AlexWindHope, six months ago I switched to JS after 2 years of C # and almost constantly “find” in it (js) something new - Specter
  • eight
    I, I remember, blurted out once that I know C++ :) - Costantino Rupert
  • 2
    @AlexWindHope, I do not understand your thoughts, you should not make a similar switch or multiple-expression if expression? and why? > this strange switch (true) is strange though (which is, by definition, extremely subjective), but it is quite applicable for some situations> the goal was to fit such a switch into one not very long line to be honest, the goal is simple, if this switch had a dozen another case ... - Specter
  • 2
    So this. Python and toad immediately! And for entertainment www.jython.org - alexlz

5 answers 5

You're kidding. I criticize a little (well, please))) and express my point of view.

I am now 11 years old and I have a task - to 14 know at least 7 yap

What for? It is clear that the obvious answer will be "for development and the opportunity to choose what you will be doing more specifically in the future." But it is unrealistic - in 3 years to learn 7 PLs (in PL, I do not include markup languages) to a level sufficient for use in development. It is better to choose 2-3 languages ​​and further study English - it is very useful in the career of a developer.

I already know JS quite well (it took 1.5 months to study.)

For a month and a half this language is not to be studied, animation in general can be ignored. To really consider yourself a js-developer, you must at least know and be able to use besides the standard set of functions, ajax, json, as well as the jQuery library (minimum), and preferably Ext JS, which is used to develop the RIA.

I don't like: pascal, development environments (but not testing tools), if a = 1 then * (I like if (a = 1) {*}), $ before variables

I myself am not a fan of pascal and delphi, but pascal, for example, teaches to write correctly and directs the brain in the right direction (during school years). As for development environments, you are generally wrong, because no one in the industrial design of npp and other unpretentious editors use. Although, perhaps, under the development environment you mean evil called Adobe Dreamweaver. And if you're going to write in Java, you'll have to get acquainted with NetBeans, Eclipse, or IntelliJ Idea. As for the bucks before the variables, then this whole mod went with sh / bash, then Perl and finally PHP. So you don’t want to - don’t write them)) And if you don’t like formatting the code without using () and {}, then you don’t like Python very much.

Well, now on the topic - Python and Java languages ​​of different directions. Both are very clear and rather concise (unlike PHP with its crutches). Python is basically a language for web development and system programming, as a replacement for Perl. Java - in fact, is also applicable for this, but it is more logical to use it for the development of corporate-level projects (the so-called Java EE).

And finally - pay attention to the sites of work (both Russian and foreign) and look at the relevance of these or other PL. And keep in mind that many PLs have their own target development category.

I myself went through the following path: Web (without programming on the server side - HTML, CSS, JS) -> PHP -> Java SE -> Java EE. And the last, in my opinion, can be considered the end point for the developer (Web and Interpre).

  • No, I did not mean Dreamweaver, but as races ecslipe. I just once tried to learn java from the book "programming for android", and there eclipse got me mad. True, I have not been to other environments. Maybe they are comfortable ... But first I want to try without them, and only then ... About 7 Jap, you finally persuaded me. For the beginning of the mark 2-3, and then we'll see. "but pascal, for example, teaches to write correctly and directs the brain in the right direction (during school years)." And why is JS bad for this? He seems to have sent me ... - kandi
  • You see, I did not compare JS and Pascal. JS in prichnpe is good for studying of programming, I do not argue. Pascal is simply studied in schools, unlike JS. It's hard to get used to Eclipse right away, but over time you begin to understand all its charms. For android (and Java in general), you can try Idea. By the way, if you want to program on the Android platform, I recommend starting with Java, because on android it is she, only under JVM Dalvik. ZY: it seems to me, or am I writing on your behalf? - dpetruk
  • Well, okay, anyway, in the end, parents are forced to go to a circle about pascal. As for the environment - when I feel the need - I will try different options. But while I start without her. As for the droid - here I do not agree that only java. Yes, it is the main one, but there are interpreters (I didn't confuse anything?) JS and python for it. So if I urgently need to make an app for android, then I can write it on js. And so, I want to do this later. - kandi
  • As a matter of fact, as far as I know, what you write in Js or Python will be compiled into java-classes and executed in jvm, so it is better to initially write in Java. - dpetruk
  • one
    I throw in the thesis. Do you need speed? When most of the time a typical bucket software is occupied by the UI, and that is limited by the user’s speed of tapping the screen and the difference - pressing the button will be processed in 1ms or 10ms, in general, it does not play any role. BTW, offtopic, correct. > As for the buck before the variables, then this whole fashion went with sh / bash. In fact, the sigils went, as far as I know, with BASIC. In a number of its dialects, $ used to denote a string type. And, a little, MUMPS, where ^ used for global variables. In the shell (started with the Mashey shell) it was already late. - drdaeman pm

Do not bother with the syntax. This is nonsense, which is not worth the attention - to convert one syntax to another - a task, not counting the time to think through the syntaxes, in general, for several evenings. Pay attention not to the form of brackets and indents, but to the semantics of the language.

Python, in my opinion, will be semantically richer than Java. There are generators with coroutines, and metaclasses, and higher-order functions without special dances with a tambourine (and any syntactic sugar for these possibilities, such as decorators), and a whole lot more. True, and their troubles enough.

Therefore, I would suggest first Java (up to a certain threshold, and then in the world of its libraries you can dig for years), then Python. General concepts (iterators, for example) will later be useful in Python. On the other hand, choosing Java first does not have to spit much when you have to write a dozen lines of code instead of some short generating expression.

And then, for the sake of interest, you can look at Scala, for example.

  • once for that matter: is it true that scala is only for big java fans? Do not know? - kandi
  • one
    Well, I don't even know what to say. On the one hand, it lives on a Java-as-platform. Those. Most libraries and frameworks will be from Java. So Scala is clearly for those who like the Java ecosystem as such. But, on the other hand, as a language, it looks much closer to ML (at one time they liked to compare it with Haskell) than Java. And all this is flavored with the concept of actors, sometimes explicitly inspired by Erlang. Seriously, I really didn’t feel Scala - I just thought to look (but all hands didn’t get further, in fact, helloworlds), so I don’t charge for special truthfulness. - drdaeman 1:28 pm
  • At first I thought that you are right about the syntax and that there is not much difference. But then I remembered the readability of the code. Above, I have already written that I love open source, which means that the readability of the code is important to me. In my opinion, JS has the most readable syntax. Therefore, I am looking for jap, with a syntax similar to it. If () {}, a variable without $ makes the code understandable. But I look at php, pascal - yes it is a silent horror. If there are> 100 lines in the code and there are no comments, then getting lost is easy. So I'm looking for a readable, objective, cross-platform, powerful jap - kandi
  • code readability is a subjective concept, so some regular braces seem to be excellent readability quality, others just like indents, on the other hand, the reason for unreadable code is not the language, but its user is Specter
  • 3
    Code readability is yes, an important factor that should not be neglected. But in moderation - if reading problems begin with a sigil for a variable name or block form, not letting it read if instead of { ... } it turns out to be indentation or begin ... end - this is bad. Everyone, of course, is his own master, but personally I would advise here to overcome one’s own consciousness, to abstract from form and learn to read the content. ! [ i.imgur.com/9mulv.png[[1] (The picture embellishes the matter only in the question of prefix / infix notation - this is already a real issue of readability.) [1]: i.imgur.com/9mulv.png - drdaeman

To begin with, I fundamentally disagree with "Learning Java is easier to learn other languages," I know any programming language is much easier to learn another, in my opinion, and in my personal experience, the benefits of Java, in the matter of learning other languages, are exactly the same as any other.

Now, on a subject - I am not a fan of either the first language or the second, but, nevertheless, I tend to Python. The explanation is much more likely, in a short time, to master the language and start developing. In order not to write bad code in Java, it should take quite a long time, but in order to write good and all the years, it’s (it’s not taking into account fair moments for any PL, I’ll introduce the specifics of good Java code).

In general, let it be irrelevant to your question - do not learn the language for the sake of the language, just know the syntax of the N language! = Be a programmer in the N language. But, if this is exactly what interests you, I would advise you to study the good old S.

PS: 'I still have enough of my knowledge, except for a couple / three cases', we all once, once thought, I have a question for you - if you are so gifted a programmer and everything turns out well for you - why are you asking what to teach farther? You probably know much better.

  • 'PS:' My knowledge is enough for me, except for a couple / three cases', we all once, once thought, I have a question for you - if you are so gifted a programmer and everything turns out well for you - why are you asking what to learn further? You probably know much better. " so it is for a certain case, and even in addition YET. And not so many lines of code I wrote - about 500 lines of code. Well, the ratio is 3/500. This is definitely not a super programmer, especially since these 500 took about 1.5 months. - kandi
  • > And not so many lines of code I wrote - about 500 lines of code. Then can you still stay in JS for the time being? Until it accumulates ... ummm ... more lines. - Nofate
  • @Nofate JS Well, I plan to finish my drawing to the end, and in it, and all 50,000 can type :) - kandi
  • @danpetruk, here's the front of work for the next six months) - Nofate
  • @Nofate half a year? You think? I relied on for three years) - kandi

I would start with Java and here’s why. Java syntax has a lot in common with C ++, PHP and other programming languages. Also, the implementation of OOP in Java has a lot in common with other programming languages. Learning Java is easier to learn other languages.



    1. Simplicity (installation of the development environment is not required. Only unpack the archive).
    2. Easy to learn.
    3. Suitable for both software development and web development.
    4. Goes to all platforms (Android, Linux, Windows ...).
    5. "No $"
    6. EXE (JAR) - the file does not take up much space (if there are 5 - 7 classes 10 - 80 Kb.)
    7. You can install a lot of other libraries.

    Epilogue. If you chose java, here is the link to the environment: http://www.eclipse.org/downloads/. Your choice.

    • one
      Java easy to learn? What do you mean? - Zowie
    • 1. Without a development environment, develop in Java - a clean perversion (if the project is much more hello-world and uses third-party libraries). 2. SE - yes (python, by the way, is also simple), EE - no 6. If libraries are used (at least Spring), then software will grow so weakly. And what is the "5-7 classes" ?? IMHO, Eclipse - not for beginners. Better to try NetBeans for a start. - dpetruk 2:44 pm
    • I think he meant the prostate - easy to start. - kandi 2:49 pm
    • Yes. That makes sense - MrGons18
    • 3
      @dpetruk Python is easier to learn (including and at the expense of the REPL - read-evalution-print-loop and tools like dir (), .__doc__ , etc.). But the phrase "I think he meant the word prostate - easy to start" - this is something from the advertising of funds from prostatitis. "Simplicity" is spelled with two "o". - alexlz