[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Mac OS X Port


Note to all: One of the most significant design decisions in SWT is that, *implementing* SWT should be as much like programming the platform API as possible. It is deliberately *not* like programming on some Java abstraction, because this reduces the implementors's ability to apply domain knowledge. This is particularly important when more than one developer may end up owning the codebase. Typically in C, constants are introduced in a header files but are then mentioned without qualifiers. The closest we could get to that is "OS.foo" for constant "foo", so that is how it should be coded.

McQ.



Martin Sturzenhecker <msturzen@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

07/16/2002 03:57 AM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-swt-dev] Mac OS X Port

<snip>

Using this everything will get a little more verbose but, the enums will be a lot more _java-like_.


<snip>