4 ms·
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"
by montroser 5y ago
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 https://github.com/curl/curl/wiki/JSON#--jp-part
- matja 5y agoAgree, 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.
- nerdponx 5y agoCurl 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.
- oblio 5y agocurl? Do one thing? In the same sentence? curl looks like it has hundreds of flags. https://danluu.com/cli-complexity/ https://danluu.com/cli-complexity/