2 ms·
A program needs inputs. Either those inputs are supplied when the program is run, or they come from a configuration. Some configurations can be reasonably defau
by kazinator 11y ago
A program needs inputs. Either those inputs are supplied when the program is run, or they come from a configuration. Some configurations can be reasonably defaulted. Some can't.
For example, a newly installed browser on a machine that has never had a browser cannot read your mind to figure out your home page. It can run and do its job, but without a URL, and a default home page, it can just display an empty window.
(Some inputs cannot reasonably be made configurations. Should a ssh program connect to some particular host if run with no arguments? Maybe. Should "rm" have a default file name to remove if none is supplied? Crazy!)
Configurations are necessary, though. There are otherwise too many inputs. What's the answer? "I don't like programs that take many inputs; don't make such programs?" That's just dumb. Some functions simply don't decompose. You can't take every program that has 60 inputs and make it into 6 completely independent programs that have 10 inputs to somehow do the same job. If it can be done, maybe it should, sure.
Of course, nobody should be required, before using a program, to configure a myriad preferences that can all be reasonably defaulted. That seems to be the point of this blog, which is largely self-evident.
- jjoonathan 11y ago> For example, a newly installed browser on a machine that has never had a browser cannot read your mind to figure out your home page. It can run and do its job, but without a URL, and a default home page, it can just display an empty window. That's your example? Browsers have been doing better than that for decades.
- kazinator 11y agoIt's an example of something that is not bad in this regard: browsers run anyway if there is no URL and no home page configured, defaulting in some way. (If you think that what modern browsers show instead of a blank page is better, that's great.)