On 27/11/2011 9:21 PM, Derek Parnell wrote:
> On Mon, 28 Nov 2011 11:15:52 +1100, Jeremy Cowgar <jeremy@...>
> wrote:
>
>> I object for the same reasons stated before, providing multiple options
>> to accomplish the same task doesn't make it easier, it only makes it
>> more difficult and confusing. This is true with API and command line
>> parameters. One time John sees euc -plat L and another time euc -plat
>> WINDOWS and another time euc -plat NET. What is he suppose to do with
>> that information? Consistency is very important, so is self
>> documentation -- again with API and command line parameters. Anyone can
>> read: -plat LINUX and later -plat LINUX and later -plat NETBSD and know
>> *exactly* what is going on. No confusion, no additional documentation
>> to wade through and try to make sense of (describing the new rules,
>> what can use a single letter abbreviation vs a 3 letter vs full), etc...
>> We shouldn't provide: substring, substr and ss functions just to save
>> typing. Nor should we allow -plat L, -plat LIN and -plat LINUX.
>> Jeremy
>> ------ Original Message ------
>> From: "Shawn Pringle" <shawn.pringle@...>
>> To: rapideuphoria-develop@...
>> Sent: 11/27/2011 6:40:38 PM
>> Subject: [Rapideuphoria-develop] -plat options
>>> Though there are some who prefer to type the whole name for their
>>> platform. For consistency, I said lets allow Windows also to allow to
>>> have a full name option to -plat. It turns out it is easy to allow
>>> three letter abbreviation for all of the platforms and one letter
>>> abbreviations for all but two. There are only two that start with the
>>> same letter. So, does anyone have an objection to allowing all of the
>>> following?
>>>
>>> -plat W, -plat WIN, -plat WINDOWS - for Windows,
>>> -plat L, -plat LIN, -plat LINUX - for Linux,
>>> -plat N, -plat NET, -plat NETBSD - for NETBSD, etc ...
>>>
>
> I support Jeremy's POV on this and I'll even go one further and say we
> should have had "-platform" rather than "-plat".
>
By the same argument we should do away with -eudir and put
-euphoria-directory, and for -c, -configuration-file, and for -i
-include-directory, and for -d, -defined-word. I am a fan of bash
command line completion because I only need to type up to what is
unique. Command line programs with a long history, such as UNIX
commands, often will take long options with long human readable words
and short commands that are only one letter. If not, we might as well
put up a dialog box with radio buttons, check boxes, and a browse button
when we open euiw.exe because it will be faster to use.
Shawn Pringle
--
PGP public key available at pool.sks-keyservers.net
|