Talk:JavaScript: Difference between revisions

Content deleted Content added
m I hope you do not mind this minor corrective edit made to ensure compliance with the new parsers requirments.
Line 65:
:::I wasn't questioning the validity of the inclusion of AWK and HyperText, only commenting that they ought to be expanded on in the body of the article rather than relegated only to the infobox. [[User:Largoplazo|Largoplazo]] ([[User talk:Largoplazo|talk]]) 17:07, 29 March 2025 (UTC)
::A tweet from Brendan Eich the creator of JS, Juli 4th 2017
::<code></code>
::<code>Java inspired sort, which is in-place/mutating. TBH, JS1.0 in 1995 was under Perl influence; JS1.2 in 1997 fell more under Python influence.</code>
::<code>12:00 vorm. · 4. Juli 2017</code>
::<code></code>
::Source https://x.com/BrendanEich/status/881996154115837952
::X has problems displaying it on some browsers like Chrome.
Line 75:
::https://searchfox.org/mozilla-central/source/js/src/builtin/Array.cpp
::Searching for the word "Perl" shows a list of "Perl-ish methods" like
::<code></code>
:: <code>/* Perl-ish methods. */</code>
:: <code>JS_INLINABLE_FN("join", array_join, 1, 0, ArrayJoin),</code>
:: <code>JS_FN("reverse", array_reverse, 0, 0),</code>
:: <code>JS_TRAMPOLINE_FN("sort", array_sort, 1, 0, ArraySort),</code>
:: <code>JS_INLINABLE_FN("push", array_push, 1, 0, ArrayPush),</code>
:: <code>JS_INLINABLE_FN("pop", array_pop, 0, 0, ArrayPop),</code>
:: <code>JS_INLINABLE_FN("shift", array_shift, 0, 0, ArrayShift),</code>
:: JS_FNJ<code>S_FN("unshift", array_unshift, 1, 0),</code>
:: <code>JS_FNINFO("splice", array_splice, &array_splice_info, 2, 0),</code>
::<code></code>
::Compare
::- join http://perldoc.perl.org/functions/join.html
Line 101:
:[[Brendan Eich]], Creator of JavaScript, in “Coders at Work: Reflections on the Craft of Programming” Peter Seibel 2009 page 158/159
:[[Coders at Work|https://en.m.wikipedia.org/wiki/Coders_at_Work]]
:''
:''”When I did JavaScript's regular expressions I was looking at '''Perl''' 4. I did step through it in the debugger, as well as read the code. And that gave me ideas; the implementation I did was similar. In this case the recursive backtracking nature of them was a little novel, so that I had to wrap my head around. It did help to just debug simple regular expressions, just to trace the execution. I know other programmers talk about this: you should step through code, you should understand what the dynamic state of the program looks like in various quick bird's-eye views or sanity checks, and I agree with that.”'' [[Special:Contributions/2A00:FBC:E1C4:5A7E:A3D2:F879:5B28:77DA|2A00:FBC:E1C4:5A7E:A3D2:F879:5B28:77DA]] ([[User talk:2A00:FBC:E1C4:5A7E:A3D2:F879:5B28:77DA|talk]]) 14:05, 31 March 2025 (UTC)
 
[[File:X mark.svg|20px|link=|alt=]] '''Not done for now''': please establish a [[Wikipedia:Consensus|consensus]] for this alteration '''[[Wikipedia:Edit requests|before]]''' using the {{Tlx|Edit semi-protected}} template.<!-- Template:ESp --> This is now self-evidently not an uncontroversial change. As such a consensus needs to be developed here before reopening the edit request. [[User:PianoDan|PianoDan]] ([[User talk:PianoDan|talk]]) 19:38, 3 April 2025 (UTC)