Interpreters for scripting languages and suchlike often provide an option to specify one line of program on the command line itself. For Perl, this option is -e; for Python it's -c. Which of these is more common? That is, which would be less surprising from a user's viewpoint?

link|improve this question

80% accept rate
feedback

1 Answer

Either one, or none. It mainly depends on the user's previous background.

You shouldn't expect either to be more intuitive - just put them plain clear in sight, and the users will adjust.

link|improve this answer
Yeah, but there must be an answer to which is more common, at least; it would be an unlikely coincidence if they were precisely equally common. – rwallace Dec 2 '11 at 4:25
1  
@rwallace - How do you expect to determine that? – ldigas Dec 2 '11 at 12:10
I don't know, that's why I tried asking here, hoping somebody would have some idea :) – rwallace Dec 2 '11 at 13:06
1  
@rwallace - Sorry, I don't see how anyone could do that. – ldigas Dec 2 '11 at 13:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.