Rather than making a custom tool to issue SQL, the idea is that regular CLI tools map well to the traditional relational algebra operations. sed is like selection, cat is like union, etc.
448 karma · joined December 21, 2008
Rather than making a custom tool to issue SQL, the idea is that regular CLI tools map well to the traditional relational algebra operations. sed is like selection, cat is like union, etc.
[1]: https://pypi.python.org/pypi/csvkit [2]: https://gist.github.com/jdp/8447221
http://justinpoliey.com/articles/make-for-front-end-developm...
Make is old, but still pretty relevant. Maybe some peoples' avoidances come from the association with autotools and the complexities involved in building portable C programs. Using make to manage something like a front-end codebase, which doesn't suffer that family of complexity, is pretty straightforward and kinda enjoyable.
[0]: https://developers.google.com/bigquery/ [1]: http://inductionapp.com/
[1]: https://github.com/StefanKarpinski/bam [2]: http://cmph.sourceforge.net/
As far as being purpose-built for code golf goes, there are already even more compact concatenative languages, like F[1] and XY[2], that might give this a run for its money due to K's obvious influence. Then again, it wouldn't be hard to have a rewrite layer to turn mnemonic operations into their expanded rhoScript words :)
[1]: http://nsl.com/k/f/f.htm [2]: http://nsl.com/k/xy/xy.htm
GitHub's web UI only does a line diff. Which is not particularly helpful when you change a word or two in a six sentence paragraph. It's possible to do a word diff locally of course: `git diff --word-diff` but that's not the general use case for a code host, right now most code is line oriented and the UI suits it well. That is one of the reasons that the article advocates formatting thoughts with newlines, good portability. These input texts are closer to code than prose, so why format it like it was? Splitting thoughts into units digestible by your coding environment has the huge benefit of working with individual thoughts instead of individual paragraphs.
From their examples, this is the equivalent representation:
Link: <http://www.tld/orders/523>;rel=self, <http://www.tld/warehouse/56>;rel=warehouse, <http://www.tld/invoices/873>;rel=invoice
It also allows for multiple Link headers to be sent instead of the comma-separated version.That could be related to their decision to use only JSON as the interchange format though.
[1]: http://strlen.com/false-language [2]: http://www.nsl.com/k/f/f.htm