Talk:JavaScript
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 ![]() It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() | The contents of Server-side JavaScript was merged into JavaScript on 25 April 2012. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
![]() | The contents of Online JavaScript IDE was merged into JavaScript on 2 August 2015. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. 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:
|
|
||||||
Perl should be added to the list of influencers of JavaScript
See
- https://2ality.com/2013/02/javascript-influences.html
listing similar methods where the comments explicitly mention Perl
And consider the newer "use strict" which is literally a Perl pragma
I don't know how to add this information, since editing is protected. 2A00:FBC:E1C4:5A7E:952E:5756:15EC:39D (talk) 03:36, 29 March 2025 (UTC)
Semi-protected edit request on 29 March 2025
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Add Perl to the list of "Influenced By", links to sources can be found in the talk section.
Reasoning:
It's not only very obvious that perl influenced methods in the Array, String and RegEx objects by name and semantic. The original source code of JavaScript is explicitly referencing Perl in the comments on numeral occasions.
Perl might be an unpopular language in 2025 but was very popular at the time of the creation of JS.
The "use strict" feature in newer instances of JS is a straight forward copy from Perl. 2A00:FBC:E1C4:5A7E:952E:5756:15EC:39D (talk) 14:19, 29 March 2025 (UTC)
- Not done: please provide reliable sources that support the change you want to be made. Where you write "links to sources", do you mean the one link you included in the section you created just above? That's one person's blog, unfortunately, which doesn't qualify as a reliable source. Can you supplied at least one? Aside from that, I'm looking at where AWK, Self, and HyperTalk are listed and thinking that if they're truly a source they ought to be mentioned as such in the article's body, but they aren't. Largoplazo (talk) 15:03, 29 March 2025 (UTC)
- This image from the Chinese blog entry mentioned in the other blog shows a grep in the original code base of JS mentioning Perl
- https://images0.cnblogs.com/blog/116671/201302/06202428-4fa9b726d88d4a16be4ac498a60f9a95.jpg
- What could be more obvious?
- I will add more sources later, because my mobile Chrome keeps erasing the form whenever I change the tab searching for more...
- I can start a detailed discussion at a programmers forum detailing the deep influence of Perl if this is considered "reliable" 2A00:FBC:E1C4:5A7E:952E:5756:15EC:39D (talk) 16:16, 29 March 2025 (UTC)
- That doesn't remotely qualify as a reliable source, and using it would probably amount to original research, which isn't permitted; at best, it's a primary source. Did you follow the link to the guideline about reliable sources to acquaint yourself with what's meant by that here? Largoplazo (talk) 16:19, 29 March 2025 (UTC)
- "JavaScript borrows most of its syntax from Java, C, and C++, but it has also been influenced by Awk, Perl, and Python."
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#:~:text=JavaScript%20borrows%20most%20of%20its%20syntax%20from%20Java%2C%20C%2C%20and%20C%2B%2B%2C%20but%20it%20has%20also%20been%20influenced%20by%20Awk%2C%20Perl%2C%20and%20Python. 2A00:FBC:E1C4:5A7E:952E:5756:15EC:39D (talk) 16:20, 29 March 2025 (UTC)