realbasic-plugins
[Top] [All Lists]

Re: Subclassing from my own plugin

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Subclassing from my own plugin
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Sat, 23 Dec 2006 20:52:45 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <1hqtsrh dot 1cdx64v1x2a07yM%support at monkeybreadsoftware dot de> <8D35054F-4D79-4EFB-9DDC-9D74CA96A7DE at elfdata dot com>

On Dec 23, 2006, at 8:29 PM, Theodore H. Smith wrote:
Why do you do this? Because you don't trust RB to work properly? Or why?

I don't like the idea of wasting a single byte. It all adds up you see. Sometimes I may waste a byte or two though ;) but only when it adds up to a better practice in other areas of the app or my development process.

Perhaps you should read up on data alignment (such as this excellent article by a friend of mine: <http://www-128.ibm.com/developerworks/library/pa-dalign/ >) .

While I don't recall what our current data alignment strategies are for subclassing, it certainly would not be good to rely on any current behaviors because they may change.

-Jon


--
Jonathan Johnson
jonj at realsoftware dot com
REAL Software, Inc.


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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