Moreover, a "named argument" is a different thing entirely, in that in several languages (Scala, Obj-C, and even idiomatically JS), you can "name your arguments" at the call-site and have those mapped to params. for example: foo(someParam = 3, otherParam = 2);
-
-
so we both used loose language while tweeting. nbd. we both know the feature we're talking about. I'm just saying I don't teach it anymore, so that's not a compelling reason to diverge from many other langs and call them "arguments" instead of "parameters".
-
The word that the JS spec uses for these may be "arguments", but I find that regrettable rather than something to emulate.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.