Need your feedback on trait IDE usability

stéphane ducasse ducasse at iam.unibe.ch
Sat Jul 17 12:24:49 UTC 2004


Thanks andrew. This is cool.
I found some others that adrian already fixed :)

Stef

On 17 juil. 04, at 13:15, Andrew Tween wrote:

> Hi traiters :),
> I've had a quick play around with the latest traits, here is what I've
> found...
>
> Using the standard squeak system browser...
>     create new class CCC - ok
>     create new trait XXX - ok
>     create new trait YYY uses  XXX - ok
>     create methods in all the above - ok
>
> Select a method in trait XXX
>     click on inheritance button - error...
>         MessageNotUnderstood:  
> Trait>>allSubclassesWithLevelDo:startingLevel:
>     click on Source (What to show) button, select Documentation -  
> error...
>         MessageNotUnderstood:  
> Trait>>precodeCommentOrInheritedCommentFor:
>     click on Source (What to show) button, select Tiles- error...
>         MessageNotUnderstood: Trait>>whichClassIncludesSelector:
>
> Create a new class that uses trait XXX - ok
>
> Create a new variableSubclass (see WeakActionSequence for an example  
> of a
> variableSubclass), by evaluating...
>     Array variableSubclass: #MyWeakSubclass
>          uses: {XXX}
>          instanceVariableNames: ''
>          classVariableNames: ''
>          poolDictionaries: ''
>          category: 'Kernel-Objects'
> I get an unknownSelector warning - confirming gives this error...
>     MessageNotUnderstood: Array
> class>>variableSubclass:uses:instanceVariableNames:classVariableNames: 
> poolDi
> ctionaries:category:
>
> Similarly, I cannot create variableByteSubclasses,  
> variableWordSubclasses,
> or weakSubclasses...
> I can, however, create these kinds of classes if I omit the uses:{}  
> part of
> the expression.
> (Is it possible to use traits with these kind of subclasses? )
>
> That's all for now.
> Keep up the good work, what you've done so far is fantastic
> Regards,
> Andy
> p.s. I also checked that my ShoutTraits addOn package is still working  
> - and
> it seems ok.
>
> ----- Original Message -----
> From: "stéphane ducasse" <ducasse at iam.unibe.ch>
> To: "The general-purpose Squeak developers list"
> <squeak-dev at lists.squeakfoundation.org>
> Sent: Saturday, July 17, 2004 10:47 AM
> Subject: Need your feedback on trait IDE usability
>
>
>> Hi squeakers,
>>
>> We would like to have your feedback on traits from a usability point  
>> of
>> view (we would also appreciate bug fixes too ;)).
>>
>> Currently we are working with andrew black on a trait browser based on
>> OmniBrowser,
>> but we also want to have a minimal support in our old crappy system
>> browser so that you are not forced to use another browser. The idea of
>> traits is that you should be able to continue to develop **exactly**
>> the same way as before if you do not want to see traits.  And this is
>> working ;).
>>
>> Could you load traits from SqueakMap and have a look at the default
>> browser
>> (it does not have hyper cool features dedicated to traits) and let us
>> know
>> if the minimal provided is working: editing a traits, editing a class.
>> Take care the system gets recompiled so it takes a while but save the
>> image after :).
>>
>> If you see problems with some other tools provided by default in  
>> Squeak
>> let us know.
>> We know that the debugger should be adapted so that method
>> recompilation in the debugger
>> got in the right place (trait or class), marcus is having a look.
>>
>> We are also preparing some simple examples but if you have some ideas
>> please send us feedback and code.
>>
>> For more information about traits please read:
>> http://www.iam.unibe.ch/~scg/Research/Traits/index.html and in
>> particular the first paper.
>>
>> By the way, Perl 6 will have traits (not the one they call traits now)
>> and Scala a strongly typed Java language has already traits, so we  
>> hope
>> Squeak will not miss them.
>>
>> The traiters
>>
>> Stef, Nathanael and Adrian.
>>
>>
>>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.716 / Virus Database: 472 - Release Date: 05/07/2004
>




More information about the Squeak-dev mailing list