realbasic-nug
[Top] [All Lists]

Re: Interfaces and Computed Properties

To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
Subject: Re: Interfaces and Computed Properties
From: "Lars Jensen" <larsjensen@gmail.com>
Date: Wed, 26 Nov 2008 16:28:28 -0800
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hsvfXtBxCdXUttXHHtxc4uIzRVn3C56vnQzMCOuwzqo=; b=n/iJyZu9tI06XBk6bGh4TiYX82S9VNwmfQbtRbGzODNfbw5kUu1T0VjFLCfuCyTiko UzUnoVf87wg2R9MsL47wrXMJ4AW9PQH+xxyjecFJtozIU1Q5z2iwzfk3t4xzl5BqvbTC HiFXk7wguEHMmvNoOGLj2g0bsW8/P6VJaO9KY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=P1y41ksEn1DKklmRHW8PZo/cwrvO8KrDNhLTYwmNiDBOu/8SigLd7/P6FV6k6SZ+tN epQQnILtO7M9QjuJ0T5awv+MHabxQY3YgptpD8UWYBlij7Kq0OJ1Vh9J1Y2GuOLUZrQh 5zELsOM6sHb/LEMUmXuVVF93hRNWMO/icEciE=
In-reply-to: <421C4E27-0784-4D03-B28D-EB52A783BADE@great-white-software.com>
References: <4F4D1ADF-52CE-4EBA-9346-9BE37992CCDD@xochi.com> <1ED2BB86-1E43-4A4C-8245-F8D587E28BC2@great-white-software.com> <BFB05065-1FC3-4400-A27F-1448615FFD11@xochi.com> <33cbfa100811261510l7803122fu2592dd1d7f03848b@mail.gmail.com> <421C4E27-0784-4D03-B28D-EB52A783BADE@great-white-software.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
> ie/ you have no clue if
>
>     myclass.someProperty = 6
>
> is implemented as
>   a naked public property
>   a getter setter pair with a setter like someProperty(assigns i as integer)
>   a computed property with a setter

Right. My point is that Class Interfaces require you to have a clue,
and this can be considered a weakness by fans of information hiding.
They specify not just an API but a specific set of method signatures.

lj

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>