MIC102G » Lecture 3
In Class Example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Every programming language needs a way for a programmer to comment on the code that is written. There are usually two kinds of comments:
Single line comments:
// this is a single line comment
# this is a single line comment
this is a multi-line comment
and I can write how ever much I want
until I close the comment with the next
In Perl there are no multi-line comments, you are forced to write something like this:
# this is a multi-line
script.aculo.us is used by Digg.com
Currently, MochiKit development is focused on code and documentation.
Single Purpose Scripts
The Prototype Window Class creates windows.
Rounded corners without graphics!
If all you need is a Simple AJAX Code-Kit, SACK is it.
For Scrolling text in divs