3 ms·
> the closest thing [...] to currently popular languages like js awk is more than that: having introduced the "function" keyword, for e in a, semicolon-less sy
by tannhaeuser 2y ago
> the closest thing [...] to currently popular languages like js
awk is more than that: having introduced the "function" keyword, for e in a, semicolon-less syntax, stringly-typing, delete x[e], etc, etc, it's quite obviously the base for JavaScript, and Brendan Eich said as much [1].
[1]: https://brendaneich.com/2010/07/a-brief-history-of-javascript/ https://brendaneich.com/2010/07/a-brief-history-of-javascrip...
- kragen 2y agoi'd say perl is closer, but for (e in a) is from awk and not perl semicolonless syntax is in js, tcl, lua, and sh, but not awk or perl; in awk omitted semicolons are interpreted as string concatenation
- deleted 2y ago[deleted]