还不如先学JAVA再学JAVASCRIPT
不过先学SCRIPT对JAVA也有一定帮助,不过对你编程的严谨性有影响

解决方案 »

  1.   

    学习Web编程当然都学了,html/css/JavaScript/Asp/Jsp等,还有数据库,越多越好
      

  2.   

    JavaScript and Java are similar in some ways but fundamentally different in others. The JavaScript language resembles Java but does not have Java's static typing and strong type checking. JavaScript supports most Java expression syntax and basic control-flow constructs.In contrast to Java's compile-time system of classes built by declarations, JavaScript supports a runtime system based on a small number of data types representing numeric, Boolean, and string values. JavaScript has a prototype-based object model instead of the more common class-based object model. The prototype-based model provides dynamic inheritance; that is, what is inherited can vary for individual objects. JavaScript also supports functions without any special declarative requirements. Functions can be properties of objects, executing as loosely typed methods.JavaScript is a very free-form language compared to Java. You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed.Java is a class-based programming language designed for fast execution and type safety. Type safety means, for instance, that you can't cast a Java integer into an object reference or access private memory by corrupting Java bytecodes. Java's class-based model means that programs consist exclusively of classes and their methods. Java's class inheritance and strong typing generally require tightly coupled object hierarchies. These requirements make Java programming more complex than JavaScript authoring.In contrast, JavaScript descends in spirit from a line of smaller, dynamically typed languages such as HyperTalk and dBASE. These scripting languages offer programming tools to a much wider audience because of their easier syntax, specialized built-in functionality, and minimal requirements for object creation.
      

  3.   

    先学JAVA再学SCRIPT会非常痛苦。
    在JAVA里习惯了OOP,到了SCRIPT里就不能方便地写class,很痛苦的。
    (不要相信在script的function里写个this.varXYZ就是在写类了)
      

  4.   

    java和javascript是两个不同的语言,但是javascript是类似于jave的,差异很大!!!
      

  5.   

    同意zergling(zergling) 
    没一点联系
    javascript取名相似于java只是公司战略问题
      

  6.   

    Javascript与Java基本没有联系,只是有部分语法类似。所以,先学Javascript对Java没有多大的帮助。