Talk:JavaScript: Difference between revisions
Appearance
Content deleted Content added
→Language families: Reply |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 135: | Line 135: | ||
:Whilst JavaScript inherits some syntax and ideas from some other languages, it also has ideas of its own, so it's not clear from its influences to which hierarchy of families it belongs (more than just Java, and it doesn't inherit everything from Java) So the infobox has, instead, there are various language types, or [[programming paradigm]]s - a language may use more than one paradigm - predecessors ("influenced by"), and successors ("influenced") |
:Whilst JavaScript inherits some syntax and ideas from some other languages, it also has ideas of its own, so it's not clear from its influences to which hierarchy of families it belongs (more than just Java, and it doesn't inherit everything from Java) So the infobox has, instead, there are various language types, or [[programming paradigm]]s - a language may use more than one paradigm - predecessors ("influenced by"), and successors ("influenced") |
||
:{{tq|Could we show the same with Javascript, to show that it is descended from C++}} Is it descended ''directly'' from C++, or it it descended from - or, rather, influenced by - [[Java (programming language)|Java]], which is, in turn, influenced by many languages, including but not limited to C++? [[User:Guy Harris|Guy Harris]] ([[User talk:Guy Harris|talk]]) 06:52, 4 April 2024 (UTC) |
:{{tq|Could we show the same with Javascript, to show that it is descended from C++}} Is it descended ''directly'' from C++, or it it descended from - or, rather, influenced by - [[Java (programming language)|Java]], which is, in turn, influenced by many languages, including but not limited to C++? [[User:Guy Harris|Guy Harris]] ([[User talk:Guy Harris|talk]]) 06:52, 4 April 2024 (UTC) |
||
::JavaScript is a Lisp-like language with Java-like syntax. C++ has nothing to do with it except that it was one of the first popular object-oriented programming languages. Which |
::JavaScript is a Lisp-like language with Java-like syntax. C++ has nothing to do with it except that it was one of the first popular object-oriented programming languages. Which goes to show that this is a bad idea: including this won't teach anybody anything and will invite endless bickering. [[User:Rp|Rp]] ([[User talk:Rp|talk]]) 08:57, 4 April 2024 (UTC) |
||
{{talk reflist}} |
{{talk reflist}} |
Revision as of 11:53, 4 April 2024
This is the talk page for discussing improvements to the JavaScript article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1, 2, 3, 4, 5, 6 |
This level-4 vital article is rated B-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The contents of the Server-side JavaScript page were merged into JavaScript on 25 April 2012. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
The contents of the Online JavaScript IDE page were merged into JavaScript on 2 August 2015. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
This article is substantially duplicated by a piece in an external publication. Since the external publication copied Wikipedia rather than the reverse, please do not flag this article as a copyright violation of the following sources:
|
|
||||||
Language families
Programming languages are like natural languages, so can we put a box to the side of the page like on a natural language page, that has the languages pedigree? for example,
Spanish | |
---|---|
Castilian | |
| |
Pronunciation | [espaˈɲol] [kasteˈʝano] , [kasteˈʎano] |
Speakers | Native: 500 million (2023)[1] Total: 600 million[1] 100 million speakers with limited capacity (23 million students)[1] |
Early forms | |
Latin script (Spanish alphabet) Spanish Braille | |
Signed Spanish (using signs of the local language) | |
Official status | |
Official language in | |
Regulated by | Association of Spanish Language Academies (Real Academia Española and 22 other national Spanish language academies) |
Language codes | |
ISO 639-1 | es |
ISO 639-2 | spa |
ISO 639-3 | spa |
Glottolog | stan1288 |
Linguasphere | 51-AAA-b |
Official majority language
Co-official or administrative language but not majority native language
Secondary language (more than 20% Spanish speakers) or culturally important | |
38.43.22.44 (talk) 21:26, 3 April 2024 (UTC)
- As you can see, Spanish is descended from Latin, which is descended from Proto Indo European. Could we show the same with Javascript, to show that it is descended from C++, which in turn is descended from SIMULA? 38.43.22.44 (talk) 21:33, 3 April 2024 (UTC)
- Note: the sources cited are accidental. 38.43.22.44 (talk) 21:35, 3 April 2024 (UTC)
Programming languages are like natural languages
. No they aren't. That being said, like many collections of things (family trees, biological taxonomies, books in a library) they can be arranged in a hierarchy. At least, some of them can. I'm supposing some of them would be better described as creoles. I'll leave it to others to discuss whether this is of value. But perhaps this would be better discussed at a higher-level, general page like Wikipedia:WikiProject Software. Largoplazo (talk) 00:58, 4 April 2024 (UTC)Programming languages are like natural languages, so can we put a box to the side of the page like on a natural language page, that has the languages pedigree?
Yes, you can; it's called {{Infobox programming language}}, and it's already there.As you can see, Spanish is descended from Latin,
And, as you can see from that infobox, JavaScript is descended from Java,[4][5] Scheme,[5] Self,[6] AWK,[7] and HyperTalk[8]which is descended from Proto Indo European.
Which is only implicitly mentioned in the {{Infobox language}} infobox in Spanish language.- That infobox gives a taxonomy, not a history; the taxonomy has Indo-European at the top, meaning that it's the topmost category in which Spanish belongs; all languages in that category descend from the Proto-Indo-European language. The "Latin" in the Language family section of that infobox refers to a "Latin" subfamily of the Latino-Faliscan languages. That subfamily can either be thought of as being the Romance languages, if you include the Latin language as a Romance language, or Latin plus the Romance languages, if you consider the Romance languages to be the descendants of Latin.
- Whilst JavaScript inherits some syntax and ideas from some other languages, it also has ideas of its own, so it's not clear from its influences to which hierarchy of families it belongs (more than just Java, and it doesn't inherit everything from Java) So the infobox has, instead, there are various language types, or programming paradigms - a language may use more than one paradigm - predecessors ("influenced by"), and successors ("influenced")
Could we show the same with Javascript, to show that it is descended from C++
Is it descended directly from C++, or it it descended from - or, rather, influenced by - Java, which is, in turn, influenced by many languages, including but not limited to C++? Guy Harris (talk) 06:52, 4 April 2024 (UTC)- JavaScript is a Lisp-like language with Java-like syntax. C++ has nothing to do with it except that it was one of the first popular object-oriented programming languages. Which goes to show that this is a bad idea: including this won't teach anybody anything and will invite endless bickering. Rp (talk) 08:57, 4 April 2024 (UTC)
References
- ^ a b c Cite error: The named reference
viva18
was invoked but never defined (see the help page). - ^ Eberhard, Simons & Fennig (2020)
- ^ Hammarström, Harald; Forkel, Robert; Haspelmath, Martin; Bank, Sebastian, eds. (2022). "Castilic". Glottolog 4.6. Jena, Germany: Max Planck Institute for Evolutionary Anthropology. Archived from the original on 28 May 2022. Retrieved 19 June 2022.
- ^ Seibel, Peter (16 September 2009). Coders at Work: Reflections on the Craft of Programming. Apress. ISBN 9781430219484. Archived from the original on 24 December 2020. Retrieved 25 December 2018.
Eich: The immediate concern at Netscape was it must look like Java.
- ^ a b Cite error: The named reference
origin
was invoked but never defined (see the help page). - ^ "Popularity – Brendan Eich".
- ^ "Brendan Eich: An Introduction to JavaScript, JSConf 2010". YouTube. p. 22m. Archived from the original on 29 August 2020. Retrieved 25 November 2019.
Eich: "function", eight letters, I was influenced by AWK.
- ^ Eich, Brendan (1998). "Foreword". In Goodman, Danny (ed.). JavaScript Bible (3rd ed.). John Wiley & Sons. ISBN 0-7645-3188-3. LCCN 97078208. OCLC 38888873. OL 712205M.
Categories:
- B-Class level-4 vital articles
- Wikipedia level-4 vital articles in Technology
- B-Class vital articles in Technology
- B-Class Computer science articles
- High-importance Computer science articles
- WikiProject Computer science articles
- B-Class Computing articles
- High-importance Computing articles
- B-Class software articles
- High-importance software articles
- B-Class software articles of High-importance
- All Software articles
- B-Class Websites articles
- Top-importance Websites articles
- B-Class Websites articles of Top-importance
- All Websites articles
- All Computing articles
- B-Class Internet articles
- Top-importance Internet articles
- WikiProject Internet articles
- B-Class JavaScript articles
- Top-importance JavaScript articles