4 ms·
A few comments. First, wow, I love how this looks like dark magic. Those mathematical notations, are you using them because it makes it easier to see how it co
by unixhero 8y ago
A few comments. First, wow, I love how this looks like dark magic.
Those mathematical notations, are you using them because it makes it easier to see how it corresponds to actual Set Theory/theorems?
If so, could you just as well have used an alphanummeric identifier like "left" "union" "right" or - would the code break without this notation?
I'm on deep waters here, I don't know this. But set theory seems to pop up a lot in my line of work, essentially doing joins in datasets using Tableau - so my interest in the nitty gritty of this field is increasing.
- jph 8y agoThanks! To answer your questions... > because it makes it easier to see how it corresponds to actual Set Theory/theorems? Yes. These are the Unicode symbols for set theory. > could you just as well have used an alphanummeric identifier like "left" "union" "right" or Yes. You can use any of the words in the case switch statements, such as `setop union file1 file2`. You can also edit the script to add your own words if you like. You can see simpler versions of these scripts in our GitHub repos. For example the `union` command is https://github.com/sixarm/union https://github.com/sixarm/union > set theory seems to pop up a lot in my line of work More and more in mine too. Thank you for your comments!