0
Which one is easy to work n learn?? Java or javascript??
5 Answers
+ 3
Javascript is less strict and higher level (low level are nearest of the computer language) so it's a few more easy to work than Java. But that doesn't mean that Javascript is easy to master... just that you could more quickly write simple code.
Anyway, the most easy to work and learn depends mostly on you and on your targeted coding field: the one wich motivate you the more ;)
+ 2
@Алина Метенька:
I don't think that << for beginner any language is the same for learning >>: low level languages require more personal investment to work and learn ^^
Examples, to output "Hello World":
+ Python:
print("Hello World")
+ Java:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
+ Javascript:
console.log("Hello World");
+ Javascript (bis -- many way to do input are provided in JS, since you work in web browser environment):
alert("Hello World");
+ JS (ter)
document.write("Hello World");
(there's other advanced way to handle output in JS by accessing to the DOM -- Document Object Model -- to handle the web page content)
+ 1
It’s impossible to compare these languages because they solve different problems. for beginner any language is the same for learning, I think:)
0
I understood JavaScript is easier than java. But, everything needs patience to learn.
0
both language cant be compared as both serve different purpose.
if you are learning just an hobby you can go with Javascript as its easier and the interpreter is quite forgiving and you really dont need any downloads to get started you can directly start in any browsers console.
If you are open to suggestions you can surely go with python it is whats being taught to students as the first language and its quite versatile in application.
Ps: JavaScript is easy to start with and learn basics of but to master it as with any language you need dedicated and effort.