|
|

This is only a preview of the paper Click here to register and get the full text. Existing members click here to login
|
|
|
Javascript: Is it robust? ... One language in particular that uses some of the above concepts but not all of them is Javascript. Javascript is a fairly new programming language that was developed by Netscape for the sole purpose of creating more robust WebPages.(Wilton, 9) Javascript is not easy to learn because it does not enhance program readability and writability. ... The first topic to be discussed is how Javascript does not enhance readability through some of the features mentioned earlier. ... Javascript has a large number of components, and even though each component is well defined, there is still an issue with the enhancement of readability. Javascript has a large number of data methods that are defined by the language, and each are given names that clearly define what they do, but that does not help a programmer to remember each and every method while writing a program. One such example is in the Math object of Javascript, which allows certain mathematical functions to be done using methods. ... Javascript for the most part supports orthogonality to an extent . ... Javascript has no problem with this, and it can also be done vice versa. However, Javascript allows for data type conversion which might lead to an overuse of orthogonality which can be a bad thing when it comes to program readability. ... For Javascript this is an issue that actually enhances readability. Through the use of “if statements”, “for loops”, “while loops” and “case statements”, Javascript can be defined as semi-readable. ... Data types are defined in Javascript only when an operation is done on a variable. ... Through the above examples it has been shown that in terms of program readability, Javascript falls a little short of being deemed a readable language to the untrained programmer. ... (Sebesta, 15) Having to remember a lot of procedures, or in the case of Javascript, methods, makes it much harder to write a program without using tons of references while writing the code. ... With Javascript the use of a semi-colon as an end of line character is sometimes necessary, and other times it is not necessary. ... Also with syntax special tags are needed to define the beginning and the end of Javascript code. ... Javascript has a great support for abstraction with all of its Object methods. ... With Javascript, there are many levels of expression. ... However Javascript enforces much more interesting expressions that to inexperienced programmer might look like something they have never seen before and that would be totally correct.
Approximate Word count = 1981 Approximate Pages = 7.9 (250 words per page double spaced)
|
|
|

|
|
|