File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555
5656 * [ Conclusion] ( languages/python/conclusion.md )
5757
58+ * [ JavaScript] ( languages/js/README.md )
59+
60+ * [ Introduction] ( languages/js/intro.md )
61+
62+ * [ History] ( languages/js/history.md )
63+
64+ * [ Purpose & Advantages] ( languages/js/advantages.md )
65+
66+ * [ Disadvantages] ( languages/js/disadvantages.md )
67+
68+ * [ Some interesting facts] ( languages/js/misc.md )
69+
70+ * [ Conclusion] ( languages/js/conclusion.md )
71+
5872* [ C#] ( languages/csharp/README.md )
5973
6074 * [ Introduction] ( languages/csharp/intro.md )
Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ one being Python. Despite few design flaws it still is successful in programming
99* [ Making of python-An interview] ( https://www.artima.com/intv/pythonP.html )
1010
1111* [ The official page of ABC] ( https://homepages.cwi.nl/~steven/abc/ )
12+
13+ * Pemberton, S. (1987, January 01). An Alternative Simple Language and Environment for PCs.
14+ Retrieved from [ here.] ( https://ieeexplore.ieee.org/document/1695678/ )
Original file line number Diff line number Diff line change 22
33## Creation
44
5- ABC was created in the early 1980s by Leo Geurts, Lambert Meertens and Steven Pemberton at
6- the Centrum Wiskunde & Informatica (CWI) in the Netherlands. ABC language was developed iteratively
7- with it being the fourth iteration. All the previous versions/iterations of this language were called as B.
8-
9- It is said that the first version of B appeared in 1969. So we can say that ABC went through a long
10- phase of development and changes before it took its current form.
11-
12- Note that B is not a predecessor of the C programming language.
5+ ABC was created by by Leo Geurts, Lambert Meertens and Steven Pemberton at
6+ the Centrum Wiskunde & Informatica (CWI) in the Netherlands. It was developed iteratively with ABC
7+ being the fourth iteration. The first two iterations were developed by Geurts and Meertens at the
8+ CWI between 1975-76 and 1977-79 respectively. The third iteration was developed between 1979-81 with
9+ the help of Robert Dewar from the New York University and had "B" as a working title.
10+
11+ After using B for 5 years, Geurts, Meertens and Pemberton came up with a new iteration based on the
12+ pros and cons of B and other programming languages of the time. They named this language * ABC* and
13+ as of 1986, it was ready for a formal release and was undergoing final revisions. Probably ABC was
14+ released to the public in 1987.
1315
1416## Purpose
1517
Original file line number Diff line number Diff line change 11# Oh, hello there
22
3- > This chapter has been authored by Konrad Klawikowski and Gadila Shashank Reddy.
3+ > This chapter has been authored by Skayo and Gadila Shashank Reddy.
44
5- Welcome to the JavaScript chapter! I would like to let you know a bit more about
6- JavaScript and programming in that language .
5+ Welcome to the JavaScript chapter! We would like to let you know a bit more about
6+ JavaScript and programming in JavaScript .
Original file line number Diff line number Diff line change @@ -21,4 +21,5 @@ static content was served and the user was only able to read it.
2121
2222Even further improvements meant that JS was able to handle server-side scripts and computing and
2323also used in developing native and stand-alone applications instead of being only restricted to the
24- browser environment.
24+ browser environment. Also JacvaScript has a relatively high speed of execution though not as fast
25+ as C or Rust.
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ gateway to exploit negligent or non careful users.
1212
1313## Regarding the authors
1414
15- This chapter was originally written by Konrad Klawikowski and additions were made to it
16- by Gadila Shashank Reddy. For the original chapter written by Konrad, see
17- [ here.] ( https://github.com/Skayo/Community-Programming-Book/tree/e4d4f35d8236ce589e6d8c35df5dd05388e3541f /book/languages/js )
15+ This chapter was originally written by Skayo and additions were made to it
16+ by Gadila Shashank Reddy. For the original content written by Konrad, see
17+ [ here.] ( https://github.com/Skayo/Community-Programming-Book/tree/f8c9cf8fc2d7cad783f85393e3e5103f8bc76b35 /book/languages/js )
Original file line number Diff line number Diff line change 1212* The Mozilla Foundation was founded in 1998 by the members of Netscape Communications.
1313
1414* JS is licensed by Oracle to Netscape Communications then and currently to the Mozilla Foundation.
15+
16+ ## An Example
17+
18+ This section will compare Hello World program in JavaScript with other languages.
19+
20+ ### JavaScript
21+
22+ ``` JavaScript
23+ " use strict" // This declares strict mode and using it is a good security practice.
24+ console .log (" Hello world!" ); // semicolon is not mandatory but recommended
25+ ```
26+
27+ ### Kotlin
28+
29+ ``` Kotlin
30+ fun main (args : Array <String >) {
31+ println (" Hello world!" )
32+ }
33+ ```
34+
35+ ### Python
36+
37+ ``` Python
38+ print " Hello world!"
39+ ```
40+
41+ ### Ruby
42+
43+ ``` Ruby
44+ puts " Hello world!"
45+ ```
46+
47+ Though the example was a simple one, we all start from writing Hello World, don't we? :)
You can’t perform that action at this time.
0 commit comments