crmsnbleyd's Blog

crmsnbleyd's Avatar Image
they/them

Doing computer stuff, mostly.

Follow requests welcome.

Dating the cutest person in the world @zozo@lgbtqia.space

Profile pic: pixel art of a smiling Pikachu on trans flag background with enby hearts by @zozo@lgbtqia.space

Header: GIF of a green alien with five eyes and a grin (the lisp alien) holding a flag with "Drew" written on it. The flag is waving and the backgroung is non-binary flag colours.
Source: my partner! https://dotpict.net/users/3247908
← All posts

So I thought that we might change our internal scripts to use long-form flags (like –delete instead of -d) so that the code would be easier for a non unix mage to understand and modify in case of errors.

Hopped on a call with my PM and team lead about it for the go-ahead and the conclusion was: the name of the command itself will not be self documenting, and if someone doesn’t know what tar is, they wouldn’t understand what the flags after it would do anyway, and if they do know what tar is, they just treat xvf or gzf as the dialect of the command, not thinking about it any deeper than “this is the magic phrase that does what I want”

I don’t agree with this because tar –extract –file archive.tar.gz is pretty fuckin self explanatory, but I gave up the ghost because I see where they’re coming from and the average enterprise programmer might not have enough cognition left after a long hard day of dealing with enterprise java to realise that it’s the same as tar xf.

#unix #software

To like or reply, open original post on Emacs.ch