Hacker News new | past | comments | ask | show | jobs | submit login

> > Zig is a general-purpose programming language and toolchain for > > maintaining robust, optimal, and reusable software.

> I am sure both csh and php aspired to do the same.

And I am sure they didn't. Such a bad take...

Languages are very often designed with a use-case in mind, or with a set of goals or core tenants.

Since he highlighted PHP specifically, there's a nice quote on wiki:

> Early PHP was not intended to be a new programming language, and grew organically, with Lerdorf noting in retrospect: "I don't know how to stop it, there was never any intent to write a programming language [...] I have absolutely no idea how to write a programming language, I just kept adding the next logical step on the way."

If you look at different languages, they have different goals. Haskell was initially created to explore lazy-evaluation, one of Python's drives was to be extensible and to be friendly to use for people not familiar with programming (largely inspired by ABC)[0].

[0]: https://www.artima.com/intv/python.html




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

Search: