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

This is cool.

In the spirit of "do one thing well", I'd so rather use this to construct JSON payloads to curl requests than the curl project's own "json part" proposal[1] under consideration.

[1]: https://github.com/curl/curl/wiki/JSON#--jp-part




Agree, I was surprised that the cURL feature was considered as it seems to go against the "Do One Thing" and composability points of the UNIX philosophy.


Curl does like 100 "things" already by that standard. The Unix philosophy doesn't have to be reductionist.

Curl does do one thing: make network requests. This feature is making it easier to make network requests, i.e. it makes it better at doing the one thing that it does.


curl? Do one thing? In the same sentence?

curl looks like it has hundreds of flags.

https://danluu.com/cli-complexity/




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

Search: