From: Peter Keller on
Paul Wallich <pw(a)panix.com> wrote:
> This is associativity problem. "X may Y" is essentially the same as "X
> might Y" _except_ when Y is a compound of the form "not Z". Then it is
> textually indistinguishable from "X may not Z", which in turn is
> essentially "X must (not Z)" rather than "X might (not Z)".

I thought it more of a permission versus possibility problem. 'May'
can be used in a permissive context OR a possibility context, but might
can only be used in a possibility context.

So while there is a difference as was pointed out, it is that the meaning of
may is a superset of might. It would appear to me, that it was still correctly
used. :)

I read 'might' in the original context as a possibility that the return
value of sort is or isn't eq-able to the argument passed in regardless
if the array is actually touched by the sorting algorithm or not.

So, if sort "might or might not" return an object identical to the
passed in argument, then I'd say your program "might or might not" work
if you don't setf the return value back into the generalized reference
of the argument.

-pete

From: Raffael Cavallaro on
On 2010-04-26 11:55:02 -0400, Paul Wallich said:

> This is associativity problem. "X may Y" is essentially the same as "X
> might Y" _except_ when Y is a compound of the form "not Z". Then it is
> textually indistinguishable from "X may not Z", which in turn is
> essentially "X must (not Z)" rather than "X might (not Z)".
>
> paul copyediting is such fun

No offense intended, but imho this is a case where an attempted
clarification looks much like obfuscation.

More simply, in the restricted dialect of english commonly used in
formal standards, legal documents, etc:

"may not" = "is forbidden to"

e.g., "The user may not make a copy of the software" = "The user is
forbidden to make a copy of the software"

"might not" = "may possibly but is not required to"

e.g., "Any attempt at connection might not receive a response" = "Any
attempt at connection may possibly but is not required to receive a
response"

Finally, this strict usage of "may not" to mean "is forbidden to" is
not observed in colloquial speech; for example "I didn't get an answer
so he may not be at home," doesn't mean "having not answered his phone,
he is forbidden to be in his residence."

warmest regards

Ralph

--
Raffael Cavallaro

From: Norbert_Paul on
Peter Keller wrote:
> Usually, programming language specs define terms like "should", "may", and
> "might". Is there a definition of these terms in the HS? I can't find them.

Well, even if you find these definitions they may be using words which themselves
are not defined in the spec.

Example:
The very first occurrence of "should", "may", or "might":
"1.1.2 History

However, minor details of its design have changed slightly since that publication,
and that paper /should/ not be taken as an authoritative reference to the semantics
of the object system as described in this document."

But no definition of what "should not be taken..." exacly means.

Norbert
;)
From: Tim Bradshaw on
On 2010-04-26 16:55:02 +0100, Paul Wallich said:

> This is associativity problem. "X may Y" is essentially the same as "X
> might Y" _except_ when Y is a compound of the form "not Z". Then it is
> textually indistinguishable from "X may not Z", which in turn is
> essentially "X must (not Z)" rather than "X might (not Z)".

And all this is language (and perhaps dialect) dependent. Modal verbs
are different in German, for instance, particularly with regards to
negation.

From: Norbert_Paul on
Tim Bradshaw wrote:
> On 2010-04-26 16:55:02 +0100, Paul Wallich said:
>
>> This is associativity problem. "X may Y" is essentially the same as "X
>> might Y" _except_ when Y is a compound of the form "not Z". Then it is
>> textually indistinguishable from "X may not Z", which in turn is
>> essentially "X must (not Z)" rather than "X might (not Z)".
>
> And all this is language (and perhaps dialect) dependent. Modal verbs
> are different in German, for instance, particularly with regards to
> negation.

Can you explain that? I am German but I didn't notice that difference
till now.


First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: questions about packages
Next: Comprehending error messages