3 ms·
Maybe we shouldn't use complex structures if we don't really need. Having e.g. special characters which can't happen in normal strings - only on boundaries - ma
by avmich 6y ago
Maybe we shouldn't use complex structures if we don't really need. Having e.g. special characters which can't happen in normal strings - only on boundaries - makes parsing simpler. At the same time we remove "hidden" layer of object organization, so whatever is seen in shell can be byte-for-byte transferred to another computer and processed there.
I've seen arguments for object-oriented shells when we want to have more complex plumbing than traditional Unix shell piping, but not sure if those goals couldn't be achieved while remaining in text-only land.