[Attempto] Statement id in article

Changyuan Yu reivzy at gmail.com
Wed Dec 14 11:29:57 CET 2011


On Tue, Dec 13, 2011 at 9:16 PM, Tobias Kuhn <kuhntobias at gmail.com> wrote:
> Hi all,
>
>
> On 13.12.2011 12:27, Changyuan Yu wrote:
>>
>> The 'ID' here is just the
>> representation of an java object, which has nothing to do with its
>> actual meaning. So what I proposal is much simpler than you think.
>
>
> I agree that we need IDs for statements at some point, but it should be a
> conceptually sound and consistent solution. Having IDs representing Java
> objects or something similar is not a good idea, I think.
>
  As human beings, we do not need 'ID'. But when programing,
especially do remote sentence modification, 'ID' make sense, we
operate direct on java object when coding in java, but we can not
access a java object remotely. So we have to operate on the 'ID' of an
object, and the java program map the operation on 'ID' to operation on
the object it represents. This make both client side and server side
simple.
  Yes, we can do something like 'change the 2nd sentence of "An apple
is a fruit." to "Every apple is a fruit."',  but I still think
something like 'change the sentence with ID 234 to "Every apple is a
fruit".' is better.

-- 
Best regards,
Changyuan


More information about the attempto mailing list