Jan Skibinski <[EMAIL PROTECTED]> writes:

> On Thu, 1 Jun 2000, S.D.Mechveliani wrote:

>> If you require the single functions
>>                      sort_merge, sort_insert, sort_quick,
>> do you also require
>>                      tar_x, tar_xv, tar_v   instead of   tar <mode>
>> ?

If tar was implemented in Haskell, it'd be a module with functions
like "extract" (tar_x) "extractVerbose" (tar_xv) and "uselessFunction" 
(tar_v).  IMHO.  So, I think the comparision is flawed.

I could accept "mode flags" if the algorithm is extremely similar,
e.g. passing a comparator function to a sort is a kind of mode flag
(think ordered/reversed) which I think is perfectly acceptable.
Having flags indicating algorithm to use (sort Merge (s:ss)) is IMHO
silly. 

>       For tar_x, tar_xv, tar_v kind of things people
>       invented objects, recognizing that "tar -x" 
>       approach is not a user friendly technology.

Oh?  You realize there are Unix weenies on this list, don't you?
Cryptic commands with equally cryptic options is very user friendly
for an interactive command line.  I'm a lot more flexible, effective
and efficient with that, than with any "object"-branded user interface 
I've tried.

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants

Reply via email to