Is it a good idea to design an architecture thinking that the User Interface classes can be replaced by a command line interface?
In Code Complete page 25, it’s said that it’s a good idea to be able to easily replace the regular user interface classes by a command line one.
What are the benefits of using the command line for software development? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Why do Windows commands allow `-` and `/` switches? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Parsing stdout with custom format or standard format?
To integrate with other executables, a executable may launch another executable and capture its output from stdout.
Where did the convention of naming command line arguments as ‘argv’ come from?
It seems like Python, PHP, and Ruby all use the name “argv” to refer to the list of command line arguments. Where does the name “argv” come from? Why not something like “args”?
Checking for minimum number of command-line arguments, but allowing help switch
I just ran into an odd scenario. I’m sure that I must have run into the same situation in the past and yet somehow not noticed it until now.
When is it appropriate to use colour in a command-line application?
Currently I have a command-line application in C called btcwatch
. It has a -C
option that it can receive as an argument that compares the current price of Bitcoin with a price that was stored beforehand with -S
. Example output with this option is:
Where does the tradition of shell prompts in code snippets come from?
Most code samples I see that demonstrate shell code preface each command with $
. Having a prefix makes sense, but I’m confused as to why $
is used in particular. Some other symbol, like !
, that can be copied and pasted into a prompt without affecting the command’s execution makes far more sense to me. So where does this notation come from?
Where does the tradition of shell prompts in code snippets come from?
Most code samples I see that demonstrate shell code preface each command with $
. Having a prefix makes sense, but I’m confused as to why $
is used in particular. Some other symbol, like !
, that can be copied and pasted into a prompt without affecting the command’s execution makes far more sense to me. So where does this notation come from?
Simple avenues for dynamically building Windows executables
I’m trying to build a Firefox add-on which lets you create executable files which can be associated with a default program or added to the “Open With” list and possess its own icon.