Where are those examples/challenges?

29 views
Skip to first unread message

Serge Beaumont

unread,
Nov 14, 2011, 4:41:39 AM11/14/11
to dci-ev...@googlegroups.com
Trygve, Rune,

In your discussions you referred to the eight or so cases that need to be proven. I've been on lurking mode for quite a while, but want to get back in the action a bit more. I'd like to put my teeth in those examples/challenges in my own favorite language du jour. Where can I find the descriptions?

Thx,

Serge.


ant.ku...@gmail.com

unread,
Nov 14, 2011, 5:14:10 AM11/14/11
to dci-ev...@googlegroups.com
Better than "descriptions", would be the use cases as well as functional and non-functional requirements.

Serge Beaumont

unread,
Nov 14, 2011, 5:20:43 AM11/14/11
to dci-ev...@googlegroups.com
Yeah, those thingies, whatever they are called, as long as I can get at them…

/me ducks away from flying boot thrown by Cope, along with the war cry: "words mean things!!!". ;-)

Rune Funch Søltoft

unread,
Nov 14, 2011, 5:22:51 AM11/14/11
to dci-ev...@googlegroups.com



Better than "descriptions", would be the use cases as well as functional and non-functional requirements.
Since it's technical "stuff" more than hard requirements I do believe a description and not a use case is interesting. The use case for "recursion" or passing role as an argument to function is not much of a use case.

The interesting challenges I've had so far has been:

  • Recursion, where a RolePlayer is bound to the same or different role in some/each of the recursions
  • Multiple roles. The same Player is bound to several roles in the same context
  • Role assigned to locale. When a RolePlayer is assigned to a local variable or passed as an argument to a method
I think the number of eight that Serge mention is related to Trygves examples. They might hide more challenges than the ones I've listen above. The list is the challenges I've tried to solve so far with my compiler. So the list might be longer but it's at least not shorter than the above.

To me a possible solution to each of these obstacles is either to make it work or to make the construct impossible from a language perspective while in both cases staying true to DCI.

Best regards
Rune

Rune Funch Søltoft

unread,
Nov 14, 2011, 5:30:26 AM11/14/11
to dci-ev...@googlegroups.com


2011/11/14 Rune Funch Søltoft <r...@asseco.dk>



2011/11/14 ant.ku...@gmail.com <ant.ku...@gmail.com>

Better than "descriptions", would be the use cases as well as functional and non-functional requirements.
Since it's technical "stuff" more than hard requirements I do believe a description and not a use case is interesting. The use case for "recursion" or passing role as an argument to function is not much of a use case.

The interesting challenges I've had so far has been:

  • Recursion, where a RolePlayer is bound to the same or different role in some/each of the recursions
  • Multiple roles. The same Player is bound to several roles in the same context
  • Role assigned to locale. When a RolePlayer is assigned to a local variable or passed as an argument to a method
  • Identity. When the identity of the object matters. E.g. when using a ReferenceType as the key to a dictionary in C#

Trygve Reenskaug

unread,
Nov 14, 2011, 10:33:07 AM11/14/11
to dci-ev...@googlegroups.com
The examples are in my Squeak/DCI implementation. I posted a Squeak image with some examples as long ago as 2010.02.02 at
    http://folk.uio.no/trygver/assets/BabyIDE-1.ZIP
This posted version is now hopelessly outdated. I have not had any indication that anybody ever read the code, so I have not taken the trouble to replace the posted image with a newer one.

A Squeak application is not easily available for reading by a non-Smalltalker. I have, therefore, written a program that exports a Squeak/DCI program as an HTML file. The Squeak/DCI example files ave been ready for some time now, but I still need to write some kind of specification for each of the examples.

Things are moving quickly on the evolution list these days, particularly Rune's very exciting language/compiler work. Jim and I are working on an improved FullOO.info site, but  I'll post my examples as soon as they're ready without waiting for a better site.

Cheers
--Trygve

Trygve Reenskaug

unread,
Dec 10, 2011, 12:25:57 PM12/10/11
to dci-ev...@googlegroups.com
Several example are now at http://fulloo.info/Examples/.

On 2011.11.14 11:20, Serge Beaumont wrote:
Yeah, those thingies, whatever they are called, as long as I can get at them�

/me ducks away from flying boot thrown by Cope, along with the war cry: "words mean things!!!". ;-)

On 14 nov. 2011, at 11:14, ant.ku...@gmail.com wrote:

  
Reply all
Reply to author
Forward
0 new messages