Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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-javascrip...



i'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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: