Jump to content

Talk:JavaScript

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Largoplazo (talk | contribs) at 16:20, 29 March 2025 (Semi-protected edit request on 29 March 2025). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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)[reply]

Semi-protected edit request on 29 March 2025

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)[reply]

 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)[reply]
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)[reply]
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)[reply]