Hi Ted,
Thanks for that good idea. I could write a C function for a small job.
Or I could do the job in Perl or in Basic. But I'm talking about
language design, not about how I might solve a particular minor problem.
Although I have been failing to make my ideas clear to everybody, I
believe firmly in saying what I mean. That's partly why I dislike
"if (strcmp (s1, s2) == 0) . . ." Suppose I happen to forget what strcmp()
is saying when it returns a zero. Then I'll have to find out what it's
telling me. But if I make my meaning plain with one operator, I wipe
out a function call, and I avoid reading a man page.
If the compiler wants to generate a call to strcmp(), that's all right
with me. But it seems to me that programming languages are designed
for people, not for computers.
Best wishes,
Bill