Comment #116
Editorial
| Status: | Open | Start: | 12/20/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Clause: | 6.2 |
Page and Line: | 23:2 |
|
Description
Suggest changing "classified into" to "as having".
History
Updated by Shugo Maeda 260 days ago
Rex Jaeschke wrote:
Suggest changing "classified into" to "as having".
Do you mean that the sentence "An object is classified into either a true value or a false value." should be changed to "An object is as having either a true value or a false value."?
I can't understand the changed sentence. Would you explain it?
Updated by Shugo Maeda 260 days ago
Shugo Maeda wrote:
Rex Jaeschke wrote:
Suggest changing "classified into" to "as having".
Do you mean that the sentence "An object is classified into either a true value or a false value." should be changed to "An object is as having either a true value or a false value."?
Do you mean that "classified into" should be changed to "classified as having" as follows?
An object is classified as having either a true value or a false value.
If so, should we also change phrases such as "if V is a true value" to phrases like "if V has a true value"?
Updated by Rex Jaeschke 260 days ago
Yes, I did mean “An object is classified as having either a true value or a false value.” But one could say more simply “An object has either a true value or a false value.”
If V represents a value then “"if V is a true value" is correct. However, if V is a variable/expression then "if V has a true value" is correct.
Updated by Shugo Maeda 259 days ago
Rex Jaeschke wrote:
Yes, I did mean “An object is classified as having either a true value or a false value.” But one could say more simply “An object has either a true value or a false value.”
We'd rather say "an object is a true value or a false value" because "an object is a value" in our draft.
For example, 6.1 says:
Ruby is a pure object-oriented language. It is pure in the sense that every value manipulated in a conforming program is an object.
How do you feel about it?
If V represents a value then “"if V is a true value" is correct. However, if V is a variable/expression then "if V has a true value" is correct.
I agree with this point.
Updated by Shugo Maeda 258 days ago
Rex Jaeschke wrote:
Ok, that sounds fine.
Ikuo Nakata, who is the chair of our WG, said that he prefer the following description:
A value is classified as being either a true value or a false value.
It's because objects represent not only boolean values, but also various values such as integers.
Then, the terms "true value" and "false value" were changed to "trueish value" and "falseish value" according to comment #91.
Is it OK?