Feedback on: JavaScript Guidelines and Best Practice
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
Writing a program that (somehow)works is not good enough. Else it would be like getting a driving license and declaring that you are an Indy car driver. It requires experience and following certain style guidelines which have been mutually agreed upon by the programming community at large. This has various advantages including readability and portability, among others.
Even though JavaScript has been around since 1995, style guidelines for it are scarce. Too much attention has been paid to creating fancy scripts which can
induce some dynamics effects, however lame they may be. This has resulted in haphazard way of writing scripts with the goal being "just to somehow get the script work ... who cares!" Well, some do.
This article does an excellent job in suggesting JavaScript style of programming. Even the most archaic topics (of personal interest to me) such as security are addressed and various pitfalls have been pointed out.
I would suggest anybody who is
serious about client-side scripting, to go through this work.
Worth:
Worth reading
Length:
Just right
Technical:
Just right
Comments:
Good general article.
Some typo and content feed-back:
- miscoordination between table of content and corresponding title within the doc ('Introduction')
- mis-co-ordination between 'Browsers with JavaScript Support' and the table in 'JavaScript Versions' (about net 2.x)
- in 'JavaScript Guidelines', are u sure that testing generally 'document.object' b4 using it, doesnt lead to a js error ?
- in the examples, u never mention 'document.writeLN' thant insert cariage returns between lines...
- typo in 'Semi-colons': '..confusion that might arise iF semi-colons are..'
- in 'Image Swapping', u dont explain a lot why one better not use index number of an image.
- typo in 'JavaScript Source Files': 'JavaScript source files Can be used in Netscape...'
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
very excellently well done
pure classy product
Comments:
Please look at file object.gif in article 169. I canīt download it, and Iīm interested in read the paper and this is fundamental.
Thank you,
Moacyr
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
Excellent list of tips that normally would take you hours or days to figure out when ramping up on the Javascript syntax! Thanks!!
Worth:
Very worth reading
Technical:
Just right
Comments:
In the documentation you see de lines:
-----
Commenting JavaScript and HTML code
Add comments to your code to aid maintenance.
The characters
</SCRIPT>
regards Fred Harthoorn