M
M
mlwrm2016-02-14 21:46:43
JavaScript
mlwrm, 2016-02-14 21:46:43

Should I learn js at the same time as java?

Please tell me, is it worth learning js at the same time (in parallel) with java, so to speak, in order to have more tools for the web, or is it better to learn one thing first? How similar are the languages?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Daniil Igorevich, 2016-02-14
@malworm

In one of the answers on the toaster, I read that you should not fill your head with two languages ​​\u200b\u200bat the same time, and now I adhere to this :)

V
VZVZ, 2016-02-14
@VZVZ

> How similar are the languages?
Completely different tools for different tasks.
js on the front end.
Java in general is mainly for Android, and on the back-end it is used only in large Enterprise.
Conclusion: if you want the web and in the Indie format, then you need JS.
If you want the web in the Enterprise format (this is a special direction in large, but not software companies - internal software) - that means JS + Java under the Web.
If you want Android, then Java for Android.
About the incompatibility of different tools and, oh horror, the confusion in the syntax - such nonsense that I don’t want to discuss it. It's like saying that a hammer cannot be used in parallel with a screwdriver, because, oh horror, it has a different handle shape.
I speak as a developer in two or three dozen languages.
If you or anyone else has a desire to discuss constructively - welcome to the comments.

T
timfcsm, 2016-02-14
@timfcsm

learn one at a time, they are similar only in name

S
Stratimon, 2016-02-14
@Sratimon

JavaScript (/ˈdʒɑːvɑːˌskrɪpt/; abbr. JS) is a prototype-based scripting programming language. It is an implementation of the ECMAScript language (ECMA-262[6] standard).
JavaScript is commonly used as an embeddable language for programmatic access to application objects. It is most widely used in browsers as a scripting language for making web pages interactive.
Main architectural features: dynamic typing, weak typing, automatic memory management, prototypal programming, functions as first class objects.
JavaScript has been influenced by many languages, with the goal being to make the language similar to Java, yet easy to use by non-programmers. JavaScript is not owned by any company or organization, which distinguishes it from a number of programming languages ​​used in web development[~ 1][7].
-------------------------------------------------- -------------------------------
Java[11] is an object-oriented programming language developed by Sun Microsystems (later acquired by by Oracle). Java applications are usually translated into special bytecode, so they can run on any Java virtual machine, regardless of computer architecture. The official release date is May 23, 1995.
The language was originally called Oak (“Oak”) and was developed by James Gosling for programming consumer electronic devices. Subsequently, it was renamed to Java and began to be used for writing client applications and server software. It is named after the Java coffee brand, which, in turn, received the name of the island of the same name (Java), so the official emblem of the language shows a cup of hot coffee. There is another version of the origin of the name of the language, associated with an allusion to a coffee machine as an example of a household device for programming which the language was originally created.
-------------------------------------------------- ---------------------------------
C-like syntax is characterized by the following features:
Case sensitivity .
The language has built-in support for numeric, character (framed with single quotes) and string (framed with double quotes) literals.
Backslashes are used to represent special characters in character and string literals.
The number of spaces, tabs (indents), and newlines do not affect semantics anywhere except for string literals. This, in particular, means that a line break is possible in any convenient place.
A semicolon is used to separate instructions.
Single-line and multi-line comments are allowed. Single-line comments are indicated by the form "//", and multi-line comments by the form "/*……….*/". In the latter version, the beginning and end of the comment can be on different lines.
Two-place operators have an infix form.
Parentheses are used to group expressions. To separate blocks of instructions - curly.
A function call is written using the name of the function followed by a comma-separated list of arguments enclosed in parentheses. To write a function call without parameters, use the function name followed by empty parentheses.
An array element or indexer is referenced using square brackets.
The language has a predefined set of keywords that consist of lowercase English letters (and possibly underscores).
Examples of languages ​​with C-like syntax:
C
C++
C#
D
Java
JavaScript
Nemerle
PHP
Scala
-------------------------------------------------- -----------------------------------------
I see no reason to learn 2 languages ​​​​at once, and both c-like you just get confused.
Learn js from the beginning so that you can understand it normally and then you can even switch to c++
already many times less problems, all the more judging from the question, I realized that you are new to programming!

A
Alexey, 2016-02-15
@azovl

Учите один из них. Поскольку за двумя зайцами погонишься, ... не вспоймаешь. Будет каша в голове. И тот и тот популярны. Тут сам для себя реши, почитай, посмотри что интересует, какое направление. Они совершенно разные.

Антон Дзодзиков, 2016-02-15
@DzodzikovAK

Если решили заняться backend разработкой, начинайте, конечно, с Java.
Как устроитесь на работу по этому профилю (Junior Java Developer, например), возможно, будете получать задачи и по UI-части. Там уже с Javascript познакомитесь.

W
Way, 2016-02-15
@YouTy6bl4

It depends on what you want to do, if you write applications, games, programs, etc., then learn java, if you stir up something in the browser, then already JavaScript. Of course, it is better to learn JavaScript, it learns quickly (as for me).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question